ci(release): upload updater .sig as release asset

tauri-action on macOS cross-target builds produces the .app.tar.gz.sig
locally but silently skips its upload ("Signature not found for the
updater JSON. Skipping upload..."), which caused generate-manifest to
abort on v1.34.15 because the .sig asset was absent.

New step after tauri-action locates the .sig under src-tauri/target/*/
release/bundle/macos/ and uploads it as Psysonic_aarch64.app.tar.gz.sig
or Psysonic_x64.app.tar.gz.sig — the exact filenames generate-update-
manifest.js expects.

Also bumps version to 1.34.16.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Psychotoxical
2026-04-18 14:46:58 +02:00
parent 061c96a89f
commit 6ed41070a5
6 changed files with 29 additions and 4 deletions
+19
View File
@@ -128,6 +128,25 @@ jobs:
with:
releaseId: ${{ needs.create-release.outputs.release_id }}
args: ${{ matrix.settings.args }}
- name: upload updater signature (macOS only)
if: runner.os == 'macOS'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
VERSION=${{ needs.create-release.outputs.package_version }}
SIG=$(find src-tauri/target -path '*/release/bundle/macos/*.app.tar.gz.sig' | head -1)
if [ -z "$SIG" ]; then
echo "::error::No .sig file found under src-tauri/target/*/release/bundle/macos/"
exit 1
fi
echo "Found signature: $SIG"
if echo "$SIG" | grep -q 'aarch64-apple-darwin'; then
DST="Psysonic_aarch64.app.tar.gz.sig"
else
DST="Psysonic_x64.app.tar.gz.sig"
fi
cp "$SIG" "$DST"
gh release upload "app-v${VERSION}" "$DST" --clobber
generate-manifest:
needs: [create-release, build-macos-windows]