Unified · Split
| @@ -62,6 +62,7 @@ jobs: · 61 unmodified lines | |||
| 62 | - name: Checkout release tag | 62 | - name: Checkout release tag |
| 63 | env: | 63 | env: |
| 64 | GH_TOKEN: ${{ secrets.RELEASE_PAT || github.token }} | 64 | GH_TOKEN: ${{ secrets.RELEASE_PAT || github.token }} |
| 65 | shell: bash | ||
| 65 | run: | | 66 | run: | |
| 66 | auth_remote="https://x-access-token:${GH_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" | 67 | auth_remote="https://x-access-token:${GH_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" |
| 67 | git fetch --force --tags "$auth_remote" "refs/tags/$RELEASE_TAG:refs/tags/$RELEASE_TAG" | 68 | git fetch --force --tags "$auth_remote" "refs/tags/$RELEASE_TAG:refs/tags/$RELEASE_TAG" |