mirror of
https://github.com/Psychotoxical/psysonic.git
synced 2026-07-25 00:35:45 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 425addffa0 | |||
| 43df830960 |
@@ -83,8 +83,10 @@ jobs:
|
||||
args: '--target aarch64-apple-darwin'
|
||||
- platform: 'macos-latest'
|
||||
args: '--target x86_64-apple-darwin'
|
||||
- platform: 'windows-latest'
|
||||
args: '--bundles nsis'
|
||||
# TEMPORARILY DISABLED during macOS updater testing — faster turnaround.
|
||||
# Re-add before the next public release.
|
||||
# - platform: 'windows-latest'
|
||||
# args: '--bundles nsis'
|
||||
runs-on: ${{ matrix.settings.platform }}
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
@@ -128,25 +130,35 @@ jobs:
|
||||
with:
|
||||
releaseId: ${{ needs.create-release.outputs.release_id }}
|
||||
args: ${{ matrix.settings.args }}
|
||||
- name: upload updater signature (macOS only)
|
||||
# Disable tauri-action's own .app.tar.gz re-packaging + updater JSON
|
||||
# upload — its repack overwrites the .app.tar.gz produced by tauri
|
||||
# CLI and invalidates the matching .sig (the tauri-created signature
|
||||
# no longer matches the repacked tarball's hash, so tauri-action
|
||||
# silently drops the .sig). We upload both files ourselves below,
|
||||
# and the generate-manifest job assembles latest.json.
|
||||
includeUpdaterJson: false
|
||||
- name: upload updater bundle + signature (macOS only)
|
||||
if: runner.os == 'macOS'
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
set -e
|
||||
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"
|
||||
TARGET_ARG='${{ matrix.settings.args }}'
|
||||
if echo "$TARGET_ARG" | grep -q 'aarch64'; then
|
||||
TARGET="aarch64-apple-darwin"
|
||||
ARCH="aarch64"
|
||||
else
|
||||
DST="Psysonic_x64.app.tar.gz.sig"
|
||||
TARGET="x86_64-apple-darwin"
|
||||
ARCH="x64"
|
||||
fi
|
||||
cp "$SIG" "$DST"
|
||||
gh release upload "app-v${VERSION}" "$DST" --clobber
|
||||
BUNDLE_DIR="src-tauri/target/${TARGET}/release/bundle/macos"
|
||||
cp "${BUNDLE_DIR}/Psysonic.app.tar.gz" "Psysonic_${ARCH}.app.tar.gz"
|
||||
cp "${BUNDLE_DIR}/Psysonic.app.tar.gz.sig" "Psysonic_${ARCH}.app.tar.gz.sig"
|
||||
gh release upload "app-v${VERSION}" \
|
||||
"Psysonic_${ARCH}.app.tar.gz" \
|
||||
"Psysonic_${ARCH}.app.tar.gz.sig" \
|
||||
--clobber
|
||||
|
||||
generate-manifest:
|
||||
needs: [create-release, build-macos-windows]
|
||||
@@ -168,6 +180,9 @@ jobs:
|
||||
gh release upload "app-v${VERSION}" latest.json --clobber
|
||||
|
||||
build-linux:
|
||||
# TEMPORARILY DISABLED during macOS updater testing — faster turnaround.
|
||||
# Re-enable by removing `if: false` before the next public release.
|
||||
if: false
|
||||
needs: create-release
|
||||
permissions:
|
||||
contents: write
|
||||
@@ -223,6 +238,11 @@ jobs:
|
||||
#
|
||||
# The refreshed lock/hash files are committed back to `main` when they change.
|
||||
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
|
||||
runs-on: ubuntu-24.04
|
||||
permissions:
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "psysonic",
|
||||
"version": "1.34.16",
|
||||
"version": "1.34.18",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
||||
Generated
+1
-1
@@ -3653,7 +3653,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "psysonic"
|
||||
version = "1.34.16"
|
||||
version = "1.34.18"
|
||||
dependencies = [
|
||||
"biquad",
|
||||
"discord-rich-presence",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "psysonic"
|
||||
version = "1.34.16"
|
||||
version = "1.34.18"
|
||||
description = "Psysonic Desktop Music Player"
|
||||
authors = []
|
||||
license = ""
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "https://schema.tauri.app/config/2",
|
||||
"productName": "Psysonic",
|
||||
"version": "1.34.16",
|
||||
"version": "1.34.18",
|
||||
"identifier": "dev.psysonic.player",
|
||||
"build": {
|
||||
"beforeDevCommand": "npm run dev",
|
||||
|
||||
Reference in New Issue
Block a user