You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This looks like as if the placeholder describe.tag.version contains the text matched by the regex in <describeTagPattern>, but actually the placeholder contains the version as matched by the fixed regex that is used to generate describe.tag.version.*placeholders.
This is because the method generateGlobalPlaceholdersMap() first adds the groups created by the describeTagPattern to the placeholders map and than adds the describe.tag.version.*placeholders which results in description.tag.version being overwritten:
Note, that the describe.tag.version.slug placeholder still contains the text matched by the describe tag pattern.
Im am not sure how to fix this. Obviously, the easiest solution would be to change the example to use a different placeholder which does not collide with the describe.tag.version.* placeholders. However, I think a better solution would be to use the version matched by the describe tag pattern as the starting point for generating the describe.tag.version.* placeholders (I hope this makes sense).
The text was updated successfully, but these errors were encountered:
The readme has an example showing how to build a version from describe tag pattern groups:
This looks like as if the placeholder
describe.tag.version
contains the text matched by the regex in<describeTagPattern>
, but actually the placeholder contains the version as matched by the fixed regex that is used to generatedescribe.tag.version.*
placeholders.This is because the method
generateGlobalPlaceholdersMap()
first adds the groups created by thedescribeTagPattern
to the placeholders map and than adds thedescribe.tag.version.*
placeholders which results indescription.tag.version
being overwritten:Note, that the
describe.tag.version.slug
placeholder still contains the text matched by the describe tag pattern.Im am not sure how to fix this. Obviously, the easiest solution would be to change the example to use a different placeholder which does not collide with the
describe.tag.version.*
placeholders. However, I think a better solution would be to use the version matched by the describe tag pattern as the starting point for generating thedescribe.tag.version.*
placeholders (I hope this makes sense).The text was updated successfully, but these errors were encountered: