Commit 7cf03511 authored by Yorick Peterse's avatar Yorick Peterse

Use a custom regex for changelog tags

The tag format we use for gitlab-org/gitlab doesn't follow semantic
versioning; at least not as we expected. The -ee suffix we use for tags
is treated as the pre-release identifier, and when generating changelogs
we ignore pre-release tags. To solve this we need a custom tag regex
to ignore the -ee suffix.

See https://gitlab.com/gitlab-com/gl-infra/delivery/-/issues/1776 for
more information.
parent 23577fbc
......@@ -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