release: align desktop versions, harden tag check

tauri.conf.json and apps/desktop/package.json lagged at 0.5.0, so
v0.6.0 desktop bundles were labeled 0.5.0. Verify job now checks all
three version sources match the tag.

Authored By: TDvorak <[email protected]>

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
Tomas DvorakandDevin committed 2026-09-21 14:20:02 +02:00
1 parent 00bf725ba7
commit c3321b86ae
3 files changed
+7 -5

No files matched your search

+5 -3
View File
@@ -19,11 +19,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check tag matches package version
- name: Check tag matches package versions
run: |
PKG=$(node -p "require('./package.json').version")
if [ "v$PKG" != "$VERSION" ]; then
echo "tag $VERSION does not match package.json version $PKG"
DESKTOP_PKG=$(node -p "require('./apps/desktop/package.json').version")
TAURI=$(node -p "require('./apps/desktop/src-tauri/tauri.conf.json').version")
if [ "v$PKG" != "$VERSION" ] || [ "$DESKTOP_PKG" != "$PKG" ] || [ "$TAURI" != "$PKG" ]; then
echo "tag $VERSION mismatch: root=$PKG desktop=$DESKTOP_PKG tauri=$TAURI"
exit 1
fi