Parcourir la source

fix release workflow

Yuki Takei il y a 6 ans
Parent
commit
1a5df4fe70
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      .github/workflows/release.yml

+ 2 - 2
.github/workflows/release.yml

@@ -33,8 +33,8 @@ jobs:
         TMP_RELEASE_BRANCH=tmp/release-${{ env.RELEASE_VERSION }}
         git checkout -B $TMP_RELEASE_BRANCH
         git commit -am "Release v${{ env.RELEASE_VERSION }}"
-        git tag v${{ env.RELEASE_VERSION }} HEAD
-        git push --follow-tags origin HEAD:$TMP_RELEASE_BRANCH
+        git tag v${{ env.RELEASE_VERSION }}
+        git push --follow-tags origin $TMP_RELEASE_BRANCH
         git push --delete origin $TMP_RELEASE_BRANCH
 
     - name: Upload release notes