chore: bump to v1.27.2 — bugfix release

- fix: Radio from context menu passed artist name as ID to getSimilarSongs2 (closes #29)
- fix: CI Windows NSIS upload — tauri-action no longer searches missing bundle/msi/
- fix: Linux/AUR ring linker error — use cc instead of rust-lld via .cargo/config.toml

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Psychotoxical
2026-04-02 10:38:26 +02:00
parent bf99a64baf
commit 0b5db172bd
9 changed files with 51 additions and 23 deletions
+6
View File
@@ -0,0 +1,6 @@
# Use the system GCC linker for Linux targets instead of rust-lld.
# ring (pulled in by tauri-plugin-updater) contains C/assembly objects that
# lld cannot resolve on Arch/CachyOS — switching to cc avoids the
# "undefined symbol: ring_core_*" linker errors.
[target.x86_64-unknown-linux-gnu]
linker = "cc"
+27 -16
View File
@@ -122,30 +122,41 @@ jobs:
VITE_LASTFM_API_KEY: ${{ secrets.VITE_LASTFM_API_KEY }} VITE_LASTFM_API_KEY: ${{ secrets.VITE_LASTFM_API_KEY }}
VITE_LASTFM_API_SECRET: ${{ secrets.VITE_LASTFM_API_SECRET }} VITE_LASTFM_API_SECRET: ${{ secrets.VITE_LASTFM_API_SECRET }}
with: with:
releaseId: ${{ needs.create-release.outputs.release_id }} # Windows: no releaseId — tauri-action would search bundle/msi/ which doesn't exist.
# We upload NSIS artifacts manually in the next step.
releaseId: ${{ matrix.settings.platform != 'windows-latest' && needs.create-release.outputs.release_id || '' }}
args: ${{ matrix.settings.args }} args: ${{ matrix.settings.args }}
- name: sign and upload bundle signature - name: upload Windows NSIS artifacts
if: matrix.settings.platform == 'windows-latest'
shell: bash shell: bash
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ needs.create-release.outputs.package_version }} VERSION: ${{ needs.create-release.outputs.package_version }}
run: | run: |
if [[ "${{ matrix.settings.platform }}" == "macos-latest" ]]; then NSIS_DIR="src-tauri/target/release/bundle/nsis"
if [[ "${{ matrix.settings.args }}" == *"aarch64"* ]]; then # Upload installer (.exe) and updater bundle (.nsis.zip + .nsis.zip.sig)
BUNDLE="src-tauri/target/aarch64-apple-darwin/release/bundle/macos/Psysonic.app.tar.gz" FILES=$(find "$NSIS_DIR" -name "*.exe" -o -name "*.nsis.zip" -o -name "*.nsis.zip.sig" 2>/dev/null)
SIG_NAME="Psysonic_aarch64.app.tar.gz.sig" if [[ -z "$FILES" ]]; then
else echo "No NSIS artifacts found in $NSIS_DIR" >&2
BUNDLE="src-tauri/target/x86_64-apple-darwin/release/bundle/macos/Psysonic.app.tar.gz" ls -la "$NSIS_DIR" || true
SIG_NAME="Psysonic_x64.app.tar.gz.sig" exit 1
fi fi
echo "$FILES" | xargs gh release upload "app-v${VERSION}" --clobber
- name: sign and upload macOS bundle signature
if: matrix.settings.platform == 'macos-latest'
shell: bash
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ needs.create-release.outputs.package_version }}
run: |
if [[ "${{ matrix.settings.args }}" == *"aarch64"* ]]; then
BUNDLE="src-tauri/target/aarch64-apple-darwin/release/bundle/macos/Psysonic.app.tar.gz"
SIG_NAME="Psysonic_aarch64.app.tar.gz.sig"
else else
BUNDLE=$(find src-tauri/target/release/bundle/nsis -name "*.nsis.zip" 2>/dev/null | head -1) BUNDLE="src-tauri/target/x86_64-apple-darwin/release/bundle/macos/Psysonic.app.tar.gz"
if [[ -z "$BUNDLE" ]]; then SIG_NAME="Psysonic_x64.app.tar.gz.sig"
echo "No NSIS zip bundle found — tauri-action likely signed and uploaded already. Skipping."
exit 0
fi
SIG_NAME="Psysonic_${VERSION}_x64-setup.nsis.zip.sig"
fi fi
npx tauri signer sign --private-key "$TAURI_SIGNING_PRIVATE_KEY" --password "$TAURI_SIGNING_PRIVATE_KEY_PASSWORD" "$BUNDLE" npx tauri signer sign --private-key "$TAURI_SIGNING_PRIVATE_KEY" --password "$TAURI_SIGNING_PRIVATE_KEY_PASSWORD" "$BUNDLE"
cp "${BUNDLE}.sig" "$SIG_NAME" cp "${BUNDLE}.sig" "$SIG_NAME"
+10
View File
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.27.2] - 2026-04-02
### Fixed
- **Radio broken from context menu** *(reported by [@netherguy4](https://github.com/netherguy4))*: "Start Radio" in the track and queue-item context menus had no effect. The handler was passing the artist name as the artist ID to `getSimilarSongs2`, which returned an empty result — so no tracks were queued and no error was shown. Now correctly passes `song.artistId`.
- **CI: Windows NSIS upload**: `tauri-action` was searching `bundle/msi/` (which doesn't exist in NSIS-only builds), causing the GitHub Release upload to fail with 404. Windows artifacts are now uploaded via an explicit step using `bundle/nsis/*.exe` + `*.nsis.zip` + `*.nsis.zip.sig`.
- **Linux/AUR build: ring linker error**: Builds on Arch/CachyOS failed with `rust-lld: undefined symbol: ring_core_*` after the Tauri updater was added. Added `.cargo/config.toml` to use the GCC linker (`cc`) for `x86_64-unknown-linux-gnu` targets, and added `clang` to the AUR `makedepends` (required by ring's bindgen step).
---
## [1.27.1] - 2026-04-02 ## [1.27.1] - 2026-04-02
### Fixed ### Fixed
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "psysonic", "name": "psysonic",
"version": "1.27.1", "version": "1.27.2",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
+2 -1
View File
@@ -1,6 +1,6 @@
# Maintainer: Psychotoxic <psychotoxic@gmx.de> # Maintainer: Psychotoxic <psychotoxic@gmx.de>
pkgname=psysonic pkgname=psysonic
pkgver=1.27.1 pkgver=1.27.2
pkgrel=1 pkgrel=1
pkgdesc="Desktop music player for Subsonic API-compatible servers (Navidrome, Gonic, etc.)" pkgdesc="Desktop music player for Subsonic API-compatible servers (Navidrome, Gonic, etc.)"
arch=('x86_64') arch=('x86_64')
@@ -16,6 +16,7 @@ makedepends=(
'npm' 'npm'
'rust' 'rust'
'cargo' 'cargo'
'clang'
) )
source=("$pkgname-$pkgver.tar.gz::https://github.com/Psychotoxical/psysonic/archive/refs/tags/v$pkgver.tar.gz") source=("$pkgname-$pkgver.tar.gz::https://github.com/Psychotoxical/psysonic/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('SKIP') sha256sums=('SKIP')
+1 -1
View File
@@ -3470,7 +3470,7 @@ dependencies = [
[[package]] [[package]]
name = "psysonic" name = "psysonic"
version = "1.27.0" version = "1.27.2"
dependencies = [ dependencies = [
"biquad", "biquad",
"md5", "md5",
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "psysonic" name = "psysonic"
version = "1.27.1" version = "1.27.2"
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.27.1", "version": "1.27.2",
"identifier": "dev.psysonic.player", "identifier": "dev.psysonic.player",
"build": { "build": {
"beforeDevCommand": "npm run dev", "beforeDevCommand": "npm run dev",
+2 -2
View File
@@ -297,7 +297,7 @@ export default function ContextMenu() {
<Disc3 size={14} /> {t('contextMenu.openAlbum')} <Disc3 size={14} /> {t('contextMenu.openAlbum')}
</div> </div>
)} )}
<div className="context-menu-item" onClick={() => handleAction(() => startRadio(song.artist, song.artist))}> <div className="context-menu-item" onClick={() => handleAction(() => startRadio(song.artistId ?? song.artist, song.artist))}>
<Radio size={14} /> {t('contextMenu.startRadio')} <Radio size={14} /> {t('contextMenu.startRadio')}
</div> </div>
<div className="context-menu-item" onClick={() => handleAction(() => { <div className="context-menu-item" onClick={() => handleAction(() => {
@@ -440,7 +440,7 @@ export default function ContextMenu() {
</div> </div>
); );
})()} })()}
<div className="context-menu-item" onClick={() => handleAction(() => startRadio(song.artist, song.artist))}> <div className="context-menu-item" onClick={() => handleAction(() => startRadio(song.artistId ?? song.artist, song.artist))}>
<Radio size={14} /> {t('contextMenu.startRadio')} <Radio size={14} /> {t('contextMenu.startRadio')}
</div> </div>
<div className="context-menu-divider" /> <div className="context-menu-divider" />