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

Popular posts from this blog

gemini cli getting file not defined error

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20

vllm : Failed to infer device type