File tree Expand file tree Collapse file tree 3 files changed +35
-2
lines changed
Expand file tree Collapse file tree 3 files changed +35
-2
lines changed Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ tags :
4+ - ' *'
5+
6+ name : Create Release
7+
8+ jobs :
9+ build :
10+ name : Create Release
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout code
14+ uses : actions/checkout@v2
15+ with :
16+ fetch-depth : 0
17+ - name : Changelog
18+ uses : Bullrich/generate-release-changelog@master
19+ id : Changelog
20+ env :
21+ REPO : ${{ github.repository }}
22+ - name : Create Release
23+ id : create_release
24+ uses : actions/create-release@latest
25+ env :
26+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
27+ with :
28+ tag_name : ${{ github.ref }}
29+ release_name : Release ${{ github.ref }}
30+ body : |
31+ ${{ steps.Changelog.outputs.changelog }}
32+ draft : false
33+ prerelease : false
Original file line number Diff line number Diff line change 2727 with :
2828 fetch-depth : 0
2929 - name : Changelog
30- uses : scottbrenner /generate-changelog-action @master
30+ uses : Bullrich /generate-release-changelog @master
3131 id : Changelog
3232 env :
3333 REPO : ${{ github.repository }}
Original file line number Diff line number Diff line change 1- name : ' generate-changelog-action '
1+ name : ' generate-release-changelog '
22description : ' GitHub Action for generating a changelog of all commits in a release'
33author : ' Javier Bullrich'
44outputs :
You can’t perform that action at this time.
0 commit comments