File tree Expand file tree Collapse file tree 2 files changed +4
-15
lines changed
Expand file tree Collapse file tree 2 files changed +4
-15
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
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 }}
You can’t perform that action at this time.
0 commit comments