Skip to content
This repository was archived by the owner on Feb 28, 2026. It is now read-only.

Commit 62d99d7

Browse files
committed
Buld and release action fixes
1 parent a590da3 commit 62d99d7

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.github/workflows/release-player.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
tags:
66
- "player@*.*.*"
77

8+
permissions:
9+
contents: write
10+
811
jobs:
912
release:
1013
strategy:
@@ -32,11 +35,10 @@ jobs:
3235

3336
- name: Extract version from tag
3437
id: version
38+
shell: bash
3539
run: |
36-
TAG=${GITHUB_REF#refs/tags/}
37-
VERSION=${TAG#player@}
40+
VERSION=${GITHUB_REF#refs/tags/player@}
3841
echo "version=$VERSION" >> $GITHUB_OUTPUT
39-
echo "tag=$TAG" >> $GITHUB_OUTPUT
4042
4143
- name: Setup Node.js
4244
uses: actions/setup-node@v4
@@ -95,11 +97,9 @@ jobs:
9597
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9698
TAURI_BUNDLER_DMG_IGNORE_CI: false
9799
with:
98-
tagName: ${{ steps.version.outputs.tag }}
100+
tagName: ${{ github.ref_name }}
99101
releaseName: "Nuclear Player v${{ steps.version.outputs.version }}"
100102
releaseBody: "Nuclear Player release v${{ steps.version.outputs.version }}"
101103
releaseDraft: false
102104
prerelease: false
103-
projectPath: packages/player
104-
tauriScript: pnpm tauri
105105
args: ${{ matrix.args }}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"lint": "pnpm --recursive run lint",
1010
"lint:fix": "pnpm --recursive run lint:fix",
1111
"test": "pnpm --recursive run test",
12-
"test:coverage": "pnpm --recursive run test:coverage"
12+
"test:coverage": "pnpm --recursive run test:coverage",
13+
"tauri": "pnpm --filter player tauri"
1314
},
1415
"devDependencies": {
1516
"@tailwindcss/vite": "^4.1.11",

packages/player/src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "player"
3-
version = "1.0.0"
3+
version = "0.0.1"
44
description = "Nuclear Music Player"
55
authors = ["nukeop <12746779+nukeop@users.noreply.github.com>"]
66
license = "AGPL-3.0-only"

0 commit comments

Comments
 (0)