diff --git a/prerelease.sh b/prerelease.sh index 1fbd2ebc..b847cf67 100644 --- a/prerelease.sh +++ b/prerelease.sh @@ -19,6 +19,8 @@ BRANCH="updateTo${PKG_VER_NEXT}" git checkout -b $BRANCH npm run version -git push $GITHUB_URL_SECURED --follow-tags origin $BRANCH +git remote rm origin +git remote add origin $GITHUB_URL_SECURED +git push --follow-tags --set-upstream origin $BRANCH hub pull-request -b development -m "chore: Merging CHANGELOG and package.json changes" hub pull-request -b master -m "chore: Merging CHANGELOG and package.json changes" \ No newline at end of file