File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 11
11
steps :
12
12
- uses : actions/checkout@master
13
13
14
+ - name : Look Changelog
15
+ uses :
jaywcjlove/[email protected]
16
+ with :
17
+ token : ${{ secrets.GITHUB_TOKEN }}
18
+ head-ref : ${{steps.create_tag.outputs.version}}
19
+ filter-author : (jaywcjlove|小弟调调™|dependabot\[bot\]|Renovate Bot)
20
+ filter : ' [R|r]elease[d]\s+[v|V]\d(\.\d+){0,2}'
21
+
14
22
- name : Setup Node
15
23
uses : actions/setup-node@v1
16
24
with :
33
41
ACTIONS_DEPLOY_KEY : ${{ secrets.ACTIONS_DEPLOY_KEY }}
34
42
PUBLISH_BRANCH : gh-pages
35
43
PUBLISH_DIR : ./build
44
+
45
+ - name : Create Tag
46
+ id : create_tag
47
+ uses :
jaywcjlove/[email protected]
48
+ with :
49
+ token : ${{ secrets.GITHUB_TOKEN }}
50
+ package-path : ./package.json
51
+
52
+ - name : Generate Changelog
53
+ id : changelog
54
+ uses :
jaywcjlove/[email protected]
55
+ with :
56
+ token : ${{ secrets.GITHUB_TOKEN }}
57
+ head-ref : ${{steps.create_tag.outputs.version}}
58
+ filter-author : (jaywcjlove|小弟调调™|dependabot\[bot\]|Renovate Bot)
59
+ filter : ' [R|r]elease[d]\s+[v|V]\d(\.\d+){0,2}'
60
+
61
+ - name : Create Release
62
+ id : create_release
63
+ uses : actions/create-release@latest
64
+ if : steps.create_tag.outputs.successful
65
+ env :
66
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
67
+ with :
68
+ tag_name : ${{ steps.create_tag.outputs.version }}
69
+ release_name : ${{ steps.create_tag.outputs.version }}
70
+ body : |
71
+ ${{ steps.changelog.outputs.compareurl }}
72
+ ${{ steps.changelog.outputs.changelog }}
73
+ draft : false
74
+ prerelease : false
You can’t perform that action at this time.
0 commit comments