mirror of
https://github.com/quamotion/dotnet-packaging.git
synced 2026-02-14 13:45:53 +00:00
[PR #98] Add command option to set package version #232
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/quamotion/dotnet-packaging/pull/98
State: closed
Merged: No
I needed to set a custom version for my deb packages but nothing seemed to go right.
The
---version-suffixcommand option sets the$(VersionSuffix)property in the project, however this property is not used anywhere, as opposed to$(Version)or$(PackageVersion).I was only able to set custom version for my deb packages by invoking the package tools manually and setting
/p:Version={version}property.This pull request changes the command option from
---version-suffixto a simple-v | --versionthat sets the$(Version)property, the one actually used byPackaging.Targets.