Explorar o código

testing release-to-github pipeline

Yuki Takei %!s(int64=9) %!d(string=hai) anos
pai
achega
34625aa245
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      wercker.yml

+ 2 - 2
wercker.yml

@@ -99,8 +99,8 @@ create-branch-for-release: # would be run on release branch
       code: |
         # reconfigure origin
         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