File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v*.*.*'
7+
18jobs :
29 changelog :
310 name : Generate changelog
@@ -18,18 +25,15 @@ jobs:
1825 args : -vv --latest --strip header
1926 env :
2027 OUTPUT : CHANGES.md
21- GITHUB_REPO : ${{ github.repository }}
2228
23- # use release body in the same job
2429 - name : Upload the binary releases
2530 uses : svenstaro/upload-release-action@v2
2631 with :
2732 file : binary_release.zip
2833 repo_token : ${{ secrets.GITHUB_TOKEN }}
29- tag : ${{ github.ref }}
34+ tag : ${{ github.ref_name }}
3035 body : ${{ steps.git-cliff.outputs.content }}
3136
32- # use release body in another job
3337 upload :
3438 name : Upload the release
3539 needs : changelog
3943 uses : svenstaro/upload-release-action@v2
4044 with :
4145 repo_token : ${{ secrets.GITHUB_TOKEN }}
42- tag : ${{ github.ref }}
46+ tag : ${{ github.ref_name }}
4347 body : ${{ needs.changelog.outputs.release_body }}
You can’t perform that action at this time.
0 commit comments