Skip to content

Commit 56d3fff

Browse files
committed
fix: let tauri-action handle release creation for binaries
1 parent 5687cda commit 56d3fff

File tree

2 files changed

+4
-15
lines changed

2 files changed

+4
-15
lines changed

.github/workflows/auto-tag.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,3 @@ jobs:
2121
with:
2222
github_token: ${{ secrets.GITHUB_TOKEN }}
2323
default_bump: patch
24-
# Optional: Use the version from package.json as a base if you want
25-
# tag_prefix: v
26-
27-
- name: Create a GitHub release
28-
uses: ncipollo/release-action@v1
29-
with:
30-
tag: ${{ steps.tag_version.outputs.new_tag }}
31-
name: Release ${{ steps.tag_version.outputs.new_tag }}
32-
body: ${{ steps.tag_version.outputs.changelog }}
33-
draft: false
34-
prerelease: false

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ jobs:
5252
run: |
5353
TAG_VERSION=${GITHUB_REF#refs/tags/v}
5454
if [[ $TAG_VERSION == refs/tags/* ]]; then
55-
# Not a tag push (maybe workflow_dispatch), use version from package.json
56-
TAG_VERSION=$(jq -r .version package.json)
55+
# Not a tag push (maybe workflow_dispatch), use version from package.json
56+
TAG_VERSION=$(jq -r .version package.json)
5757
fi
5858
echo "Version to use: $TAG_VERSION"
5959
# Update tauri.conf.json
@@ -65,9 +65,9 @@ jobs:
6565
env:
6666
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6767
with:
68-
tagName: v__VERSION__ # the action automatically replaces __VERSION__ with the app version
68+
tagName: v__VERSION__
6969
releaseName: "App v__VERSION__"
7070
releaseBody: "See the assets to download this version and install."
71-
releaseDraft: true
71+
releaseDraft: false
7272
prerelease: false
7373
args: ${{ matrix.args }}

0 commit comments

Comments
 (0)