File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " Release"
2+ on :
3+ push :
4+ tags :
5+ - " v[0-9]+.[0-9]+.[0-9]+"
6+ jobs :
7+ build-release :
8+ name : Build and Release
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Checkout code
12+ uses : actions/checkout@v3
13+ - name : " Extract data from tag: version, message, body"
14+ id : tag
15+ run : |
16+ git fetch --tags --force
17+ - name : Build Changelog
18+ id : build_changelog
19+ 20+ env :
21+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
22+ - name : Create Release
23+ uses : softprops/action-gh-release@v1
24+ if : startsWith(github.ref, 'refs/tags/')
25+ with :
26+ body : ${{steps.build_changelog.outputs.changelog}}
27+ draft : false
28+ prerelease : false
29+ name : ${{ github.ref_name }}
30+ tag_name : ${{ github.ref_name }}
31+ fail_on_unmatched_files : true
32+ generate_release_notes : true
You can’t perform that action at this time.
0 commit comments