NX Release - default value for {releaseGroupName} and {projectName} #31126
mfrieling
started this conversation in
Feature Requests
Replies: 1 comment
-
This would apply to |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In the NX Release recipe it says:
This is problematic when you mixed release groups with some versioning member projects together and others individually. Then for the ones versioning individually, the
{releaseGroupName}
will rendered into the output (commit message, tag name, ...) as is. The same behavior applies to{projectName}
when it cannot be interpolated, i. e. forreleaseTagPattern
of release groups versioning member projects together.Defaulting them to an empty string if they cannot be interpolated doesn't work because that can lead to invalid results, i.e.
A possible solution would be providing an optional default value separaed by
:
after the placeholder name:{placeholder-name:optional-default-string}
If no default value is provided and the placeholder cannot be interpolated, they current behavior should be used.
Beta Was this translation helpful? Give feedback.
All reactions