Skip to content
Snippets Groups Projects
Commit fa2a2431980a authored by Yorick Peterse's avatar Yorick Peterse
Browse files

Use a custom tag format for changelogs

This allows us to handle the Omnibus tag format, which isn't compliant
with semantic versioning. We filter out CE tags as we don't need them to
determine a changelog commit range, as no changelog commits are
introduced between creating the CE and EE tags.

See https://gitlab.com/gitlab-com/gl-infra/delivery/-/issues/1551 for
more information.
parent 75f047d7f76c
No related branches found
No related tags found
3 merge requests!51Validate shift of Heptapod 0.25 to oldstable series,!40Heptapod 0.22 is the new stable,!36GitLab 13.11
......@@ -33,3 +33,13 @@
{% else %}
No changes.
{% end %}
# The format for tags that Omnibus uses isn't semver compliant, so we need to
# specify a custom format here.
#
# We only match EE tags in this regex. Release tools tags CE first, then EE.
# While it doesn't really matter which of the two we match, we opted to go with
# EE tags here so we have the same behaviour; regardless of the tagging order.
#
# This does not affect the commits included in the range, as no changelog
# commits are introduced between the tag commits.
tag_format: '^(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\+(?P<pre>rc\d+))?((\.|\+)(?P<meta>ee\.\d+))?$'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment