From 4b2f0f77a53b122c8398873052fd84ca1e91c2d2 Mon Sep 17 00:00:00 2001
From: lujiashun <lujiashun@stoneatom.com>
Date: Thu, 2 Feb 2023 11:46:38 +0800
Subject: [PATCH] fix(stonedb): fix 'STONEDB_TAG_NAME' complier error. (#1262)

---
 .github/workflows/pull_requests.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/pull_requests.yml b/.github/workflows/pull_requests.yml
index 5c6a328d9..d2ae214d7 100644
--- a/.github/workflows/pull_requests.yml
+++ b/.github/workflows/pull_requests.yml
@@ -97,6 +97,7 @@ jobs:
 
           mkdir build && cd build
           git config --global --add safe.directory /__w/stonedb/stonedb
+          git fetch --tags
           cmake ../ \
           -DCMAKE_BUILD_TYPE=Release \
           -DCMAKE_INSTALL_PREFIX=/stonedb57/install \