diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 91334a5a..0479d01d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -139,6 +139,11 @@ jobs: Write-Host "Current tag: $currentTag" Write-Host "Previous tag: $previousTag" + # Push the tag to the repository + Write-Host "Tagging release commit..." + git tag $currentTag + git push origin $currentTag + # Generate release notes Write-Host "Generating release notes..." $headers = @{ @@ -198,12 +203,6 @@ jobs: gh release upload $currentTag (get-item ../lib-rust/*.crate) gh release upload $currentTag (get-item ../lib-c/*.zip) - - name: Tag release commit - working-directory: ./repo - run: | - git tag $PKG_VERSION - git push origin $PKG_VERSION - - name: Publish NuGet Packages run: | for f in packages/*.nupkg; do