About Customize the tag format

Problem to solve

I’m trying to implement the release flow.

After the user adds a tag vX.X.X.X such as v7.0.0.0 or v7.2.1.1.

The .gitlab-ci.yml will start collecting the changelog. However the changelog result will be null because the tag format is incorrect.

The following is the result of the pipeline:

The following is the result I try to use the API to get the changelog:

I’m already set the tag_regex as

'v(?P<major>0|[1-9]\d*)\.(?P<minor>0|[0-9]\d*)\.(?P<patch>0|[0-9]\d*)\.(?P<bug>0|[1-9]\d*)'

in the file changelog_config.yml

is there any setting I missing?

Configuration

the following is my .gitlab-ci.yml:

the following is my changelog_config.yml:

Versions

  • Self-managed

  • GitLab : 17.0

  • GitLab Runner: 16.9.1