Owain Jones
01/09/2024, 11:31 AMPackageVersion
in my csproj when releasing a new version 🙈Sebastiaan
01/09/2024, 11:43 AMv3.1.2
runs the final release of version 3.1.2 (automatically updating the version number) and label v2.2.0-rc001
would make a prerelease, version 2.2.0 rc001.
I think it requires the csproj
file to not have a specific version in it, not sure. But you can test locally by running something like dotnet build --configuration Release /p:Version:1.2.3
and then dotnet pack --configuration Release /p:Version=1.2.3 --no-build --output .\pack
and see what happens.Owain Jones
01/09/2024, 11:49 AMSebastiaan
01/09/2024, 12:04 PMMatt Wise
01/09/2024, 12:09 PMSebastiaan
01/09/2024, 12:14 PMSebastiaan
01/09/2024, 12:15 PMOwain Jones
01/09/2024, 12:44 PMMatt Wise
01/09/2024, 12:47 PMOwain Jones
01/09/2024, 3:08 PMRichard Soeteman
01/11/2024, 8:43 AMRichard Soeteman
01/12/2024, 10:42 AMSebastiaan
01/12/2024, 11:06 AMSebastiaan
01/12/2024, 11:06 AMUMB.FYI
01/12/2024, 11:06 AMRichard Soeteman
01/12/2024, 11:08 AMSebastiaan
01/12/2024, 11:09 AMDean Leigh
01/15/2024, 8:32 AMOwain Jones
01/24/2024, 11:38 AMOwain Jones
01/24/2024, 11:41 AMDean Leigh
01/24/2024, 6:09 PMOwain Jones
05/15/2024, 2:36 PMdotnet pack src/Method4.UmbracoMigrator.Source/Method4.UmbracoMigrator.Source.csproj -p:Version=1.0.0-alpha1 --configuration Release --output .
dotnet pack src/Method4.UmbracoMigrator.Source.Core/Method4.UmbracoMigrator.Source.Core.csproj -p:Version=${VERSION} --configuration Release --output .
error MSB4044: The "GetAssemblyVersion" task was not given a value for the required parameter "NuGetVersion".
Version
to PackageVersion
, which also works locally, but that still didnt work on the github action.dotnet pack
rather than nuget pack
, is because it is a SDK style project.${VERSION}
to $env:VERSION