Kaynağa Gözat

testing release-to-github pipeline

Yuki Takei 9 yıl önce
ebeveyn
işleme
34625aa245
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  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