adamralph / minver

🏷 Minimalistic versioning using Git tags.
Apache License 2.0
838 stars 60 forks source link

Allow a fourth "Revision" version part to be used. #961

Closed Juff-Ma closed 7 months ago

Juff-Ma commented 7 months ago

Use case(s)

Description

Allow a fourth "Revision" version part to be used with MinVer. So that w.x.y.z is possible to use with MinVer. If this is already possible it isn't in the documentation.

Alternatives

Additional context

The Nuget packaging version Spec, as well as the assembly version (and i guess also the FileVersion) all support a fourth "Revision" part, however none of the major git versioning tools seem to support it.

adamralph commented 7 months ago

@Juff-Ma this is not a use case I have but I'd be happy to accept a PR if the change doesn't add significant complexity. If you would like to spike the implementation I'd be happy to take a look, but I can't guarantee I'll accept a PR.

If you have budget available and are interested in engaging my professional services to get this done, please feel free to contact me at adam@adamralph.com and we can discuss details.

Juff-Ma commented 7 months ago

@adamralph As this also isn't a top priority for me i wouldn't want to pay someone to do it. However after a quick look it seems the only major change that would need to happen is to change from NuGets SemanticVersion to NuGetVersion.

I'll try to look into it myself and try to change all the references

Juff-Ma commented 7 months ago

Closing because of #962 being rightfully rejected