Explorar o código

fix release workflow

Yuki Takei %!s(int64=6) %!d(string=hai) anos
pai
achega
1a5df4fe70
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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