From 00bf725ba7e6acc16e46205a7e094ca8e35da881 Mon Sep 17 00:00:00 2001 From: Tomas Dvorak Date: Mon, 21 Sep 2026 14:06:18 +0200 Subject: [PATCH 1/2] ci: exclude .dockerbuild artifacts from release download build-push-action uploads ~~.dockerbuild metadata blobs as artifacts. pattern:"*" pulled them into the release job and extraction failed after 5 retries, killing the v0.6.0 release run. Match only binaries-*, desktop-*, and npm-tarballs. Authored By: TDvorak Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- .github/workflows/release.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 88a2f73..836090c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -153,11 +153,22 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + # build-push-action uploads "*.dockerbuild" metadata artifacts that + # download-artifact cannot extract — match only the real artifacts. - uses: actions/download-artifact@v4 with: - pattern: "*" + pattern: "binaries-*" merge-multiple: true path: dist-release + - uses: actions/download-artifact@v4 + with: + pattern: "desktop-*" + merge-multiple: true + path: dist-release + - uses: actions/download-artifact@v4 + with: + name: npm-tarballs + path: dist-release - name: Extract changelog section run: | awk -v ver="${VERSION#v}" ' From c3321b86ae61d77d4cc47d9f9201937a97f07527 Mon Sep 17 00:00:00 2001 From: Tomas Dvorak Date: Mon, 21 Sep 2026 14:20:02 +0200 Subject: [PATCH 2/2] 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 Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- .github/workflows/release.yml | 8 +++++--- apps/desktop/package.json | 2 +- apps/desktop/src-tauri/tauri.conf.json | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 836090c..21542dc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/apps/desktop/package.json b/apps/desktop/package.json index 80bd8df..e06c718 100644 --- a/apps/desktop/package.json +++ b/apps/desktop/package.json @@ -1,6 +1,6 @@ { "name": "@primora/desktop", - "version": "0.5.0", + "version": "0.6.0", "private": true, "description": "Primora desktop shell — thin Tauri client for a self-hosted deployment", "scripts": { diff --git a/apps/desktop/src-tauri/tauri.conf.json b/apps/desktop/src-tauri/tauri.conf.json index a378bf5..c2c87ae 100644 --- a/apps/desktop/src-tauri/tauri.conf.json +++ b/apps/desktop/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "https://schema.tauri.app/config/2", "productName": "Primora", - "version": "0.5.0", + "version": "0.6.0", "identifier": "dev.tdvorak.primora", "build": { "frontendDist": "../ui"