File tree 1 file changed +33
-0
lines changed
1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Create Release
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - ' v*' # Push events to matching v*, i.e. v1.0, v20.15.10
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 }} # This token is provided by Actions, you do not need to create your own 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
You can’t perform that action at this time.
0 commit comments