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 runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Check tag matches package version - name: Check tag matches package versions
run: | run: |
PKG=$(node -p "require('./package.json').version") PKG=$(node -p "require('./package.json').version")
if [ "v$PKG" != "$VERSION" ]; then DESKTOP_PKG=$(node -p "require('./apps/desktop/package.json').version")
echo "tag $VERSION does not match package.json version $PKG" 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 exit 1
fi fi
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@primora/desktop", "name": "@primora/desktop",
"version": "0.5.0", "version": "0.6.0",
"private": true, "private": true,
"description": "Primora desktop shell — thin Tauri client for a self-hosted deployment", "description": "Primora desktop shell — thin Tauri client for a self-hosted deployment",
"scripts": { "scripts": {
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"$schema": "https://schema.tauri.app/config/2", "$schema": "https://schema.tauri.app/config/2",
"productName": "Primora", "productName": "Primora",
"version": "0.5.0", "version": "0.6.0",
"identifier": "dev.tdvorak.primora", "identifier": "dev.tdvorak.primora",
"build": { "build": {
"frontendDist": "../ui" "frontendDist": "../ui"