Skip to content

Commit 8221338

Browse files
authored
fix
1 parent f736aae commit 8221338

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,6 @@ jobs:
6565
mkdir ~/.ssh
6666
ssh-keyscan github.com >> ~/.ssh/known_hosts
6767
pnpm install
68-
version=$(cat package.json | jq -r '.version')
69-
git fetch --unshallow
70-
git fetch --all --tags
71-
TAG=v$version
7268
env:
7369
CI: true
7470
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
@@ -91,6 +87,8 @@ jobs:
9187
set -e
9288
version=$(cat package.json | jq -r '.version')
9389
TAG=v$version
90+
git fetch --unshallow
91+
git fetch --all --tags
9492
if git rev-parse "$TAG" >/dev/null 2>&1; then
9593
echo "tag exists";
9694
else

0 commit comments

Comments
 (0)