File tree Expand file tree Collapse file tree 5 files changed +68
-128
lines changed Expand file tree Collapse file tree 5 files changed +68
-128
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ push :
6
+ branches :
7
+ - main
8
+ - master
9
+ paths :
10
+ - ' **/*.py'
11
+ - ' **/*.sh'
12
+
13
+ jobs :
14
+ release :
15
+ name : Release
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - name : Checkout
19
+ uses : actions/checkout@v2
20
+ with :
21
+ persist-credentials : false
22
+ fetch-depth : 0
23
+
24
+ - name : Release
25
+ uses : cycjimmy/semantic-release-action@v2
26
+ with :
27
+ semantic_version : 18.0.0
28
+ extra_plugins : |
29
+ @semantic-release/changelog@6.0.0
30
+ @semantic-release/git@10.0.0
31
+ env :
32
+ GITHUB_TOKEN : ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
Original file line number Diff line number Diff line change
1
+ {
2
+ "branches" : [
3
+ " main" ,
4
+ " master"
5
+ ],
6
+ "ci" : false ,
7
+ "plugins" : [
8
+ " @semantic-release/commit-analyzer" ,
9
+ " @semantic-release/release-notes-generator" ,
10
+ [
11
+ " @semantic-release/github" ,
12
+ {
13
+ "successComment" :
14
+ " This ${issue.pull_request ? 'PR is included' : 'issue has been resolved'} in version ${nextRelease.version} :tada:" ,
15
+ "labels" : false ,
16
+ "releasedLabels" : false
17
+ }
18
+ ],
19
+ [
20
+ " @semantic-release/changelog" ,
21
+ {
22
+ "changelogFile" : " CHANGELOG.md" ,
23
+ "changelogTitle" : " # Changelog\n\n All notable changes to this project will be documented in this file."
24
+ }
25
+ ],
26
+ [
27
+ " @semantic-release/git" ,
28
+ {
29
+ "assets" : [
30
+ " CHANGELOG.md"
31
+ ],
32
+ "message" : " chore(release): version ${nextRelease.version} [skip ci]\n\n ${nextRelease.notes}"
33
+ }
34
+ ]
35
+ ]
36
+ }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments