File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 1010 runs-on : ubuntu-latest
1111 steps :
1212 - uses : actions/checkout@v2
13+ with :
14+ fetch-depth : 0
1315 - name : Set env
1416 run : echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
1517 - uses : actions/setup-node@v2
2426 - run : npm publish --access public
2527 env :
2628 NODE_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
29+ - name : Changelog
30+ uses : Bullrich/generate-release-changelog@master
31+ id : Changelog
32+ env :
33+ REPO : ${{ github.repository }}
34+ - name : Create Release
35+ id : create_release
36+ uses : actions/create-release@v1
37+ env :
38+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
39+ with :
40+ tag_name : ${{ github.ref }}
41+ release_name : Release ${{ github.ref }}
42+ body : |
43+ ${{ steps.Changelog.outputs.changelog }}
44+ draft : false
45+ prerelease : false
You can’t perform that action at this time.
0 commit comments