Explorar el Código

Merge pull request #2302 from weseek/master

release v4.0.1 (retry 3)
Yuki Takei hace 5 años
padre
commit
a1ece506c3
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      .github/workflows/release.yml

+ 3 - 1
.github/workflows/release.yml

@@ -62,7 +62,9 @@ jobs:
     - uses: actions/checkout@v2
 
     - name: Checkout released tag
-      run: git checkout refs/tags/v${{ needs.github-release.outputs.RELEASE_VERSION }}
+      run: |
+        git fetch --tags
+        git checkout refs/tags/v${{ needs.github-release.outputs.RELEASE_VERSION }}
 
     - name: Determine suffix
       run: |