Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Support for making all version numbers lowercase #2387

Closed
dnperfors opened this issue Aug 17, 2020 · 4 comments
Closed

[Feature] Support for making all version numbers lowercase #2387

dnperfors opened this issue Aug 17, 2020 · 4 comments

Comments

@dnperfors
Copy link

Is your feature request related to a problem? Please describe.
In our pipeline we use GitVersion to specify the version of our docker images. In our pipeline some tasks will automatically convert the version to lowercase, but other tasks will use the version as is. So when we have a branch like feature/My-Special-Feature the semVer version created by GitVersion will be 1.0-My-Special-Feature, but the task to build a docker image will create the tag 1.0-my-special-feature.
Of course as a work around we can focus on how we create branches or by modifying the version to be lowercase, but that will not make version numbers consistent.

Detailed Description

It would be great if there would be configuration option to specify what the casing strategy for version numbers is.

Context

With this change we have more control over how the version is generated.

Possible Implementation

Configuration to specify the version strategy, either globally or on branch level.

@asbjornu
Copy link
Member

This feels very relevant to what's being discussed in #2199 and #2065. Please have a look at them and see whether you can fit a solution to your problem into the design of either of those.

@dnperfors
Copy link
Author

Hi @asbjornu, yes I believe this would fit rather well in the scheme design of #2065, a docker specific scheme could for example solve my issue. Please keep in mind that docker is used mostly in combination with other technologies. In my case I want to have the same casing for both the version generated by a docker scheme and the version generated by my .NET scheme.

@stale
Copy link

stale bot commented Nov 26, 2020

This issue has been automatically marked as stale because it has not had recent activity. After 30 days from now, it will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Nov 26, 2020
@stale stale bot closed this as completed Dec 26, 2020
@asbjornu
Copy link
Member

@dnperfors, please follow and add to the discussion in #2065.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants