Skip to content

Commit ef64ebf

Browse files
committed
go to release branch before running hub
1 parent 7fbca17 commit ef64ebf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/release.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ npmPublish() {
8686
handlePR() {
8787
if command -v hub > /dev/null; then
8888
echo "Hub installation found, creating a PR."
89+
git checkout $RELEASE_BRANCH
8990
hub pull-request --browse --message "version bumps from release $RELEASE_BRANCH"
9091
else
9192
echo

0 commit comments

Comments
 (0)