Skip to content

Commit e3e58f0

Browse files
fix again
Signed-off-by: Nikita Skrynnik <[email protected]>
1 parent b527100 commit e3e58f0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ jobs:
3737
run: npm install
3838

3939
- name: Check Release Exists
40+
env:
41+
GH_TOKEN: ${{ github.token }}
4042
run: |
4143
VERSION=$(jq -r '.version' src-tauri/tauri.conf.json)
4244
echo "Releasing version: $VERSION"
@@ -83,9 +85,11 @@ jobs:
8385
run: npm install
8486

8587
- name: Check Release Exists
88+
env:
89+
GH_TOKEN: ${{ github.token }}
8690
run: |
8791
VERSION=$(jq -r '.version' src-tauri/tauri.conf.json)
88-
if gh release view "$VERSION" > /dev/null 2>&1; then
92+
if gh release view "v$VERSION" > /dev/null 2>&1; then
8993
echo "Release $VERSION already exists!"
9094
exit 1
9195
fi

0 commit comments

Comments
 (0)