File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 8
8
jobs :
9
9
build :
10
10
runs-on : ubuntu-latest
11
- if : github.repository == 'EternalHeartTeam/leetcode-practice' && github.ref == 'refs/heads/master'
11
+ if : github.repository == 'EternalHeartTeam/leetcode-practice'
12
12
steps :
13
13
- uses : actions/checkout@v3
14
14
# Setup .npmrc file to publish to npm
Original file line number Diff line number Diff line change 7
7
"git" : {
8
8
"commitMessage" : " chore: release v${version}" ,
9
9
"tagName" : " cli-v${version}" ,
10
- "branch" : " stable-v${version}" ,
11
10
"tag" : true ,
12
11
"push" : true ,
13
12
"pushArgs" : [" --follow-tags" ]
16
15
"publish" : false
17
16
},
18
17
"hooks" : {
19
- "after:bump" : " git add CHANGELOG.md && echo 更新版本成功!添加changelog的commit成功!"
18
+ "after:bump" : " git add CHANGELOG.md && echo 更新版本${version}成功!添加changelog的commit成功!" ,
19
+ "after:release" : " git checkout master && git checkout -b stable-v${version} && git push origin stable-v${version}"
20
20
},
21
21
"plugins" : {
22
22
"@release-it/bumper" : {
You can’t perform that action at this time.
0 commit comments