Commit c265fbf2 authored by Yorick Peterse's avatar Yorick Peterse

Merge branch 'changelog-tag-regex' into 'master'

Use a custom regex for changelog tags

See merge request gitlab-org/gitlab!62569
parents 14102a4a 7cf03511
......@@ -36,3 +36,8 @@ template: |
{% else %}
No changes.
{% end %}
# The tag format for gitlab-org/gitlab is vX.Y.Z(-rcX)-ee. The -ee prefix would
# be treated as a pre-release identifier, which can result in the wrong tag
# being used as the starting point of a changelog commit range. The custom regex
# here is used to ensure we find the correct tag.
tag_regex: '^v(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)-ee$'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment