diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f143af1c4..48f4db158 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,7 +45,7 @@ jobs: - name: Deploy to NuGet if: ${{ startsWith(github.ref, 'refs/tags/v') }} run: | - dotnet pack -c Release /p:Version=${{ steps.gitversion.outputs.nuGetVersionV2}} -o "nuget" + dotnet pack -c Release /p:Version=${{ steps.gitversion.outputs.SemVer}} -o "nuget" dotnet nuget push nuget/*.nupkg -k ${{ secrets.NUGET_KEY }} -s https://api.nuget.org/v3/index.json - name: Extract release notes