File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1818for p in $( pwd) /sdk/packages/*
1919do
2020 cd $p
21- npm version minor
21+ version= $( npm version minor)
2222done
2323
2424# Ensure we are in the git root
@@ -28,9 +28,9 @@ cd $(git rev-parse --show-toplevel)
2828# `cargo release commit` currently fails to build a good commit message.
2929# Using git commit directly for now
3030current_branch=$( git rev-parse --abbrev-ref HEAD)
31- pr_branch=" sdk-version-v ${version} "
31+ pr_branch=" sdk-version-${version} "
3232git checkout -b " $pr_branch "
33- msg=" chore(sdk): version v ${version} "
33+ msg=" chore(sdk): version ${version} "
3434git commit -am " $msg "
3535git push --set-upstream origin " $pr_branch "
3636
@@ -40,4 +40,4 @@ gh pr create \
4040 --head " $pr_branch " \
4141 --label release \
4242 --title " $msg " \
43- --body " Release v ${version} "
43+ --body " Release ${version} "
You can’t perform that action at this time.
0 commit comments