We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f736aae commit 8221338Copy full SHA for 8221338
.github/workflows/ci.yml
@@ -65,10 +65,6 @@ jobs:
65
mkdir ~/.ssh
66
ssh-keyscan github.com >> ~/.ssh/known_hosts
67
pnpm install
68
- version=$(cat package.json | jq -r '.version')
69
- git fetch --unshallow
70
- git fetch --all --tags
71
- TAG=v$version
72
env:
73
CI: true
74
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
@@ -91,6 +87,8 @@ jobs:
91
87
set -e
92
88
version=$(cat package.json | jq -r '.version')
93
89
TAG=v$version
90
+ git fetch --unshallow
+ git fetch --all --tags
94
if git rev-parse "$TAG" >/dev/null 2>&1; then
95
echo "tag exists";
96
else
0 commit comments