ci(release): debug .sig discovery, disable verify-nix during testing

- Replace the glob find for the .sig file with an explicit target-based
  path ($matrix → src-tauri/target/<target>-apple-darwin/release/bundle/
  macos/Psysonic.app.tar.gz.sig) and dump directory listings so we can
  see what tauri-action actually leaves behind if the path is wrong
- Skip verify-nix while we iterate fast on signing + updater (its auto-
  commits of flake.lock / npmDepsHash cause rebase friction on every
  release)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Psychotoxical
2026-04-18 15:08:56 +02:00
parent 6ed41070a5
commit 43df830960
5 changed files with 26 additions and 11 deletions
+22 -7
View File
@@ -133,18 +133,28 @@ jobs:
env: env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: | run: |
set -x
VERSION=${{ needs.create-release.outputs.package_version }} VERSION=${{ needs.create-release.outputs.package_version }}
SIG=$(find src-tauri/target -path '*/release/bundle/macos/*.app.tar.gz.sig' | head -1) TARGET_ARG='${{ matrix.settings.args }}'
if [ -z "$SIG" ]; then if echo "$TARGET_ARG" | grep -q 'aarch64'; then
echo "::error::No .sig file found under src-tauri/target/*/release/bundle/macos/" TARGET="aarch64-apple-darwin"
exit 1
fi
echo "Found signature: $SIG"
if echo "$SIG" | grep -q 'aarch64-apple-darwin'; then
DST="Psysonic_aarch64.app.tar.gz.sig" DST="Psysonic_aarch64.app.tar.gz.sig"
else else
TARGET="x86_64-apple-darwin"
DST="Psysonic_x64.app.tar.gz.sig" DST="Psysonic_x64.app.tar.gz.sig"
fi fi
BUNDLE_DIR="src-tauri/target/${TARGET}/release/bundle/macos"
echo "=== Listing $BUNDLE_DIR ==="
ls -la "$BUNDLE_DIR" || true
echo "=== Searching whole target tree for .sig ==="
find "src-tauri/target" -name '*.sig' -type f 2>/dev/null || true
SIG="${BUNDLE_DIR}/Psysonic.app.tar.gz.sig"
if [ ! -f "$SIG" ]; then
echo "::error::Signature not at expected path: $SIG"
exit 1
fi
cp "$SIG" "$DST" cp "$SIG" "$DST"
gh release upload "app-v${VERSION}" "$DST" --clobber gh release upload "app-v${VERSION}" "$DST" --clobber
@@ -223,6 +233,11 @@ jobs:
# #
# The refreshed lock/hash files are committed back to `main` when they change. # The refreshed lock/hash files are committed back to `main` when they change.
verify-nix: verify-nix:
# TEMPORARILY DISABLED during the v1.34.x testing iteration (signing +
# updater stabilisation). Remove `if: false` to re-enable — it auto-commits
# flake.lock / npmDepsHash refreshes to main on every release, which causes
# rebase friction while we're iterating fast on the release pipeline.
if: false
needs: create-release needs: create-release
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04
permissions: permissions:
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "psysonic", "name": "psysonic",
"version": "1.34.16", "version": "1.34.17",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
+1 -1
View File
@@ -3653,7 +3653,7 @@ dependencies = [
[[package]] [[package]]
name = "psysonic" name = "psysonic"
version = "1.34.16" version = "1.34.17"
dependencies = [ dependencies = [
"biquad", "biquad",
"discord-rich-presence", "discord-rich-presence",
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "psysonic" name = "psysonic"
version = "1.34.16" version = "1.34.17"
description = "Psysonic Desktop Music Player" description = "Psysonic Desktop Music Player"
authors = [] authors = []
license = "" license = ""
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"$schema": "https://schema.tauri.app/config/2", "$schema": "https://schema.tauri.app/config/2",
"productName": "Psysonic", "productName": "Psysonic",
"version": "1.34.16", "version": "1.34.17",
"identifier": "dev.psysonic.player", "identifier": "dev.psysonic.player",
"build": { "build": {
"beforeDevCommand": "npm run dev", "beforeDevCommand": "npm run dev",