Skip to content

chore(release): set new branch by correct command #42

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Mar 14, 2024
2 changes: 1 addition & 1 deletion .release-it.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"hooks": {
"after:bump": "git add CHANGELOG.md && echo 更新版本${version}成功!添加changelog的commit成功!",
"after:release": "git checkout master && git checkout -b stable-v${version} && git push origin stable-v${version}"
"after:release": "git checkout master && git pull origin master && git push origin master:stable-v${version}"
},
"plugins": {
"@release-it/bumper": {
Expand Down