dotnet pack with version number
To build a nuget package with a different version number you can use the followings, where /p:Version switch provides option to specify a new version number
dotnet pack -c Release /p:Version=1.0.${{ github.run_number }}
Comments