File tree Expand file tree Collapse file tree 1 file changed +5
-18
lines changed
Expand file tree Collapse file tree 1 file changed +5
-18
lines changed Original file line number Diff line number Diff line change 11name : Create Release
22
33on :
4- workflow_dispatch :
5- inputs :
6- version :
7- description : ' Version of the release (x.x.x)'
8- required : true
9- release_notes :
10- description : ' Any release notes'
11- required : false
4+ push :
5+ tags :
6+ - ' *'
127
138jobs :
149 build :
@@ -19,24 +14,16 @@ jobs:
1914 uses : actions/checkout@v2
2015 - name : Build Assets
2116 run : ./build.sh
22- - name : Bump version and push tag
23- id : tag_version
24- uses :
mathieudutour/[email protected] 25- with :
26- github_token : ${{ secrets.GITHUB_TOKEN }}
27- custom_tag : ${{ github.event.inputs.version }}
28- tag_prefix : ' '
2917 - name : Create Release
3018 id : create_release
3119 uses : actions/create-release@v1
3220 env :
3321 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3422 with :
35- tag_name : ${{ github.event.inputs.version }}
36- release_name : Release ${{ github.event.inputs.version }}
23+ tag_name : ${{ github.ref }}
24+ release_name : Release ${{ github.ref }}
3725 draft : false
3826 prerelease : false
39- body : ${{ github.event.inputs.release_notes }}
4027 - name : Upload Assets
4128 id : upload-assets
4229
You can’t perform that action at this time.
0 commit comments