Move commit tag into overall script

This commit is contained in:
Caelan Sayler
2024-11-02 11:53:46 +00:00
parent 9ac8b6c921
commit 70566a3059

View File

@@ -139,6 +139,11 @@ jobs:
Write-Host "Current tag: $currentTag" Write-Host "Current tag: $currentTag"
Write-Host "Previous tag: $previousTag" 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 # Generate release notes
Write-Host "Generating release notes..." Write-Host "Generating release notes..."
$headers = @{ $headers = @{
@@ -198,12 +203,6 @@ jobs:
gh release upload $currentTag (get-item ../lib-rust/*.crate) gh release upload $currentTag (get-item ../lib-rust/*.crate)
gh release upload $currentTag (get-item ../lib-c/*.zip) 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 - name: Publish NuGet Packages
run: | run: |
for f in packages/*.nupkg; do for f in packages/*.nupkg; do