Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
PY

- name: Build the app
uses: tauri-apps/tauri-action@v0
uses: tauri-apps/tauri-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
PY

- name: Build the app
uses: tauri-apps/tauri-action@v0
uses: tauri-apps/tauri-action@v1

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Published release reruns fail

When this workflow is rerun or manually dispatched for a tag whose release is already published, tauri-action v1 rejects that release because releaseDraft is true and then attempts to create a duplicate, causing the release workflow to fail.


env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -106,7 +106,7 @@ jobs:
tagName: ${{ github.ref_name }} # This only works if your workflow triggers on new tags.
releaseName: 'aw-tauri v__VERSION__' # tauri-action replaces \_\_VERSION\_\_ with the app version.
releaseBody: 'See the assets to download and install this version.'
releaseDraft: true
releaseDraft: false
prerelease: false
includeUpdaterJson: ${{ env.HAS_TAURI_SIGNING_KEY }}
uploadUpdaterJson: ${{ env.HAS_TAURI_SIGNING_KEY }}
args: ${{ matrix.args }}