File tree 2 files changed +36
-0
lines changed
2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+ on :
3
+ push :
4
+ branches :
5
+ - main
6
+ jobs :
7
+ release :
8
+ name : release
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : actions/checkout@v2
12
+ with :
13
+ fetch-depth : 0
14
+ - name : Release
15
+ uses : cycjimmy/semantic-release-action@v2
16
+ with :
17
+ extra_plugins : |
18
+ @semantic-release/changelog
19
+ @semantic-release/git
20
+ branch : main
21
+ env :
22
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
1
+ {
2
+ "tagFormat" : " ${version}" ,
3
+ "plugins" : [
4
+ [" @semantic-release/commit-analyzer" , { "preset" : " angular" }],
5
+ " @semantic-release/release-notes-generator" ,
6
+ [" @semantic-release/changelog" , { "preset" : " angular" }],
7
+ [" @semantic-release/npm" , { "npmPublish" : false }],
8
+ [" @semantic-release/git" , {
9
+ "assets" : [" package.json" , " CHANGELOG.md" ],
10
+ "message" : " chore(release): ${nextRelease.version} [skip ci]\n\n ${nextRelease.notes}"
11
+ }],
12
+ " @semantic-release/github"
13
+ ]
14
+ }
You can’t perform that action at this time.
0 commit comments