|
@@ -99,8 +99,8 @@ create-branch-for-release: # would be run on release branch
|
|
|
code: |
|
|
code: |
|
|
|
# reconfigure origin
|
|
# reconfigure origin
|
|
|
GITHUB_ORIGIN=https://yuki-takei:$GITHUB_TOKEN@$WERCKER_GIT_DOMAIN/$WERCKER_GIT_OWNER/$WERCKER_GIT_REPOSITORY.git
|
|
GITHUB_ORIGIN=https://yuki-takei:$GITHUB_TOKEN@$WERCKER_GIT_DOMAIN/$WERCKER_GIT_OWNER/$WERCKER_GIT_REPOSITORY.git
|
|
|
- git remote rm origin
|
|
|
|
|
- git remote add origin $GITHUB_ORIGIN
|
|
|
|
|
|
|
+ git remote set-url origin $GITHUB_ORIGIN
|
|
|
|
|
+ git checkout -B tmp/release-$RELEASE_VERSION
|
|
|
git push -u origin HEAD:tmp/release-$RELEASE_VERSION
|
|
git push -u origin HEAD:tmp/release-$RELEASE_VERSION
|
|
|
|
|
|
|
|
|
|
|