Possible to set a max limit for branchname? #4456
Unanswered
trondhindenes
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I would honestly not want to add this type of features into GitVersion, we should keep the tool only for computing the version from the git history, anything not related should be either set as input or computed as output by the user of the tool. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have a bunch of branch rules in our gitversion config, most are variations of
label: 'feat-{BranchName}'
. One issue we're seeing is that some branches are super-long and since we in some systems derive resource name from the generated version (kubernetes etc) this causes issues from time to time.Is it possible to limit BranchName's length ala
label: 'feat-{BranchName[0:50]}'
or similar?Beta Was this translation helpful? Give feedback.
All reactions