Procházet zdrojové kódy

testing release-to-github pipeline

Yuki Takei před 9 roky
rodič
revize
34625aa245
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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