Skip to content

Commit

Permalink
Ensure we pass the Version property- this will both set the package…
Browse files Browse the repository at this point in the history
… metadata version and the assembly version. (#53)
  • Loading branch information
djluck authored May 8, 2021
1 parent 91bb6b8 commit 7ef1d94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-nuget-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ jobs:
arrTag=(${GITHUB_REF//\// })
VERSION="${arrTag[2]}"
echo "Version: $VERSION"
dotnet pack src/prometheus-net.DotNetRuntime --include-symbols -c "Release" -p:PackageVersion=$VERSION --output "build/"
dotnet pack src/prometheus-net.DotNetRuntime --include-symbols -c "Release" -p:Version=$VERSION --output "build/"
dotnet nuget push "build/prometheus-net.DotNetRuntime.*.symbols.nupkg" -k ${{ secrets.NUGET_API_KEY }} -s "https://api.nuget.org/v3/index.json" -n true

0 comments on commit 7ef1d94

Please sign in to comment.