dotnet / dotnet/Nerdbank.GitVersioning
Feature Request: Add support for removing the delimiter between the prerelease label and {height} in NuGetPackageVersion
- Dominant language
- C#
- Stars
- 1.6k
- Forks
- 185
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 46
Description
To allow migrating projects that are using different prerelease versioning schemes, it would be useful to be able to have more control over the format of the `NuGetPackageVersion` string that is produced.
Specifically, we would like to remove the `-` from between the prerelease label and the `{height}` element in order to correctly compare with a prerelease pattern we are already using.
```
Currently:
4.8.0-beta-0001+gxxxxxxxxxx
Desired:
4.8.0-beta0001+gxxxxxxxxxx
```
This can also be done for other package mangers besides NuGet, and it would make the most sense to enable this feature for all package mangers at once to keep the version pattern consistent.
Contributor guide
Assessment
This issue has not been assessed yet.