diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5dc84eda..a7538268 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -97,7 +97,7 @@ jobs: git config user.email "github-actions[bot]@users.noreply.github.com" git add version.json git commit -m "release: v${VERSION}" - git tag "v${VERSION}" + git tag -a "v${VERSION}" -m "v${VERSION}" git push origin main --follow-tags echo "sha=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT" @@ -167,7 +167,7 @@ jobs: steps: - uses: actions/checkout@v6 with: - ref: ${{ needs.version.outputs.sha }} + ref: v${{ needs.version.outputs.version }} fetch-depth: 0 - name: Create GitHub Release