Skip to content
This repository has been archived by the owner on Feb 28, 2020. It is now read-only.

Commit

Permalink
fix: use --set-upstream and set remote before pushing
Browse files Browse the repository at this point in the history
  • Loading branch information
Nana Amfo committed Nov 7, 2017
1 parent b053a08 commit 0546f90
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion prerelease.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 0546f90

Please sign in to comment.