codacy / git-version

Git versioning used in Codacy
Apache License 2.0
134 stars 44 forks source link

feature: Truncate branch names to avoid breaking k8s deployments :breaking: #67

Closed lolgab closed 2 years ago

machadoit commented 2 years ago

I like! Would add breaking tag though

lolgab commented 2 years ago

Hey folks! Can this be optional/parametrized?

Do you have a use case that requires the non-truncated normalized branch name in the tag?

lolgab commented 2 years ago

@bmbferreira We're merging this as is. You can use the previous version if you really need this behavior, since the two versions are completely the same, except for this change. Let us know your use case if you really want the flag :)