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 b527100 commit e3e58f0Copy full SHA for e3e58f0
.github/workflows/release.yaml
@@ -37,6 +37,8 @@ jobs:
37
run: npm install
38
39
- name: Check Release Exists
40
+ env:
41
+ GH_TOKEN: ${{ github.token }}
42
run: |
43
VERSION=$(jq -r '.version' src-tauri/tauri.conf.json)
44
echo "Releasing version: $VERSION"
@@ -83,9 +85,11 @@ jobs:
83
85
84
86
87
88
89
90
91
- if gh release view "$VERSION" > /dev/null 2>&1; then
92
+ if gh release view "v$VERSION" > /dev/null 2>&1; then
93
echo "Release $VERSION already exists!"
94
exit 1
95
fi
0 commit comments