Skip to content

Commit c3769fc

Browse files
committed
fix(ci): use tauriScript pnpm tauri for correct working directory
1 parent fad13f0 commit c3769fc

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/release-desktop.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,21 +50,18 @@ jobs:
5050
- name: Install dependencies
5151
run: pnpm install
5252

53-
- name: Build frontend first
54-
working-directory: apps/desktop
55-
run: pnpm run build && ls -la dist/ && ls -la dist/assets/
56-
57-
- name: Build desktop app
53+
- name: Build and release
5854
uses: tauri-apps/tauri-action@v0.5
5955
env:
6056
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6157
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
6258
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
6359
with:
6460
projectPath: apps/desktop
61+
tauriScript: pnpm tauri
6562
tagName: ${{ github.ref_name }}
6663
releaseName: 'DevDock ${{ github.ref_name }}'
67-
releaseBody: 'See the [changelog](https://github.com/yosnap/devdock/releases) for details.'
64+
releaseBody: 'On macOS run `xattr -cr /Applications/DevDock.app` after installing.'
6865
releaseDraft: false
6966
prerelease: false
7067
args: ${{ matrix.args }}

apps/desktop/src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://schema.tauri.app/config/2",
33
"productName": "DevDock",
4-
"version": "0.3.5",
4+
"version": "0.3.6",
55
"identifier": "com.paulo.devdock",
66
"build": {
77
"beforeDevCommand": "pnpm dev",

0 commit comments

Comments
 (0)