File tree Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ pull_request :
6+
7+ jobs :
8+ release :
9+ if : github.event_name == 'push'
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - uses : actions/checkout@v2
14+ - name : Semantic Release
15+ id : semantic
16+ uses : cycjimmy/semantic-release-action@v2
17+ env :
18+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
19+ with :
20+ semantic_version : 17
21+ extra_plugins : |
22+ @semantic-release/changelog
23+ @semantic-release/git
24+
Original file line number Diff line number Diff line change 1+ module . exports = {
2+ "plugins" : [
3+ "@semantic-release/commit-analyzer" ,
4+ "@semantic-release/release-notes-generator" ,
5+ [
6+ "@semantic-release/changelog" ,
7+ {
8+ "changelogFile" : "CHANGELOG.md"
9+ }
10+ ] ,
11+ "@semantic-release/github" ,
12+ [
13+ "@semantic-release/git" ,
14+ {
15+ "assets" : [
16+ "CHANGELOG.md"
17+ ] ,
18+ "message" : "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
19+ }
20+ ]
21+ ]
22+ } ;
You can’t perform that action at this time.
0 commit comments