File tree 1 file changed +36
-0
lines changed
1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ # https://help.github.com/en/categories/automating-your-workflow-with-github-actions
2
+
3
+ name : " Create release"
4
+
5
+ on :
6
+ push :
7
+ tags :
8
+ - ' *'
9
+
10
+ jobs :
11
+ deploy :
12
+ name : " Deploy"
13
+ runs-on : " ubuntu-latest"
14
+
15
+ steps :
16
+ - name : " Checkout"
17
+ uses : " actions/checkout@v2"
18
+
19
+ - name : " Generate release changelog"
20
+ id : generate-release-changelog
21
+ uses :
heinrichreimer/[email protected]
22
+ with :
23
+ token : ${{ secrets.GITHUB_TOKEN }}
24
+ onlyLastTag : " true"
25
+ stripHeaders : " true"
26
+ stripGeneratorNotice : " true"
27
+
28
+ - name : " Create release"
29
+ id : create-release
30
+ uses : actions/create-release@v1
31
+ env :
32
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
33
+ with :
34
+ tag_name : ${{ github.ref }}
35
+ release_name : ${{ github.ref }}
36
+ body : ${{ steps.generate-release-changelog.outputs.changelog }}
You can’t perform that action at this time.
0 commit comments