File tree Expand file tree Collapse file tree 2 files changed +98
-2
lines changed Expand file tree Collapse file tree 2 files changed +98
-2
lines changed Original file line number Diff line number Diff line change 66 workflow_dispatch :
77
88jobs :
9+ publish :
10+ name : Create GitHub Release
11+ runs-on : ubuntu-latest
12+ permissions :
13+ contents : write
14+ issues : write
15+ pull-requests : write
16+ steps :
17+ - name : Checkout
18+ uses : actions/checkout@v5
19+ with :
20+ fetch-depth : 0
21+ token : ${{ secrets.GITHUB_TOKEN }}
22+ - name : Create GitHub Release
23+ env :
24+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
25+ run : |
26+ npx -p semantic-release \
27+ -p @semantic-release/changelog \
28+ -p @semantic-release/git \
29+ -p @semantic-release/github \
30+ -p conventional-changelog-conventionalcommits \
31+ semantic-release
932 release :
1033 runs-on : ubuntu-latest
1134 steps :
12- - uses : actions/checkout@master
35+ - uses : actions/checkout@v5
1336 - name : Set up Python 3.10
14- uses : actions/setup-python@v3
37+ uses : actions/setup-python@v6
1538 with :
1639 python-version : " 3.10"
1740 - name : Install pypa/build
Original file line number Diff line number Diff line change 1+ {
2+ "branches" : [" main" ],
3+ "tagFormat" : " ${version}" ,
4+ "plugins" : [
5+ [
6+ " @semantic-release/release-notes-generator" ,
7+ {
8+ "preset" : " conventionalcommits" ,
9+ "writerOpts" : {
10+ "types" : [
11+ {
12+ "type" : " feat" ,
13+ "section" : " Features"
14+ },
15+ {
16+ "type" : " fix" ,
17+ "section" : " Bug Fixes"
18+ },
19+ {
20+ "type" : " docs" ,
21+ "section" : " Documentation" ,
22+ "hidden" : false
23+ },
24+ {
25+ "type" : " deps" ,
26+ "section" : " Dependency Updates" ,
27+ "hidden" : false
28+ },
29+ {
30+ "type" : " chore" ,
31+ "hidden" : true
32+ },
33+ {
34+ "type" : " style" ,
35+ "hidden" : true
36+ },
37+ {
38+ "type" : " refactor" ,
39+ "hidden" : true
40+ },
41+ {
42+ "type" : " perf" ,
43+ "hidden" : true
44+ },
45+ {
46+ "type" : " test" ,
47+ "hidden" : true
48+ },
49+ {
50+ "type" : " ci" ,
51+ "hidden" : true
52+ }
53+ ]
54+ }
55+ }
56+ ],
57+ [
58+ " @semantic-release/changelog" ,
59+ {
60+ "changelogFile" : " CHANGELOG.md" ,
61+ "changelogTitle" : " # Changelog"
62+ }
63+ ],
64+ [
65+ " @semantic-release/git" ,
66+ {
67+ "assets" : [" **" ],
68+ "message" : " chore(release): ${nextRelease.version}\n\n ${nextRelease.notes} [skip ci]"
69+ }
70+ ],
71+ " @semantic-release/github"
72+ ]
73+ }
You can’t perform that action at this time.
0 commit comments