fix(release): remove tag_prefixes — it filtered all v* tags out

Setting tag_prefixes: ['bot-api-'] caused semver-generator to ignore
every tag without that prefix, including the v0.x.y / v1.x.y release
tags. With no parseable existing version, it restarted numbering at
zero and produced v0.0.4 as a 'next' version after v1.1.1 — a
regression Go modules would never serve.

The bot-api-vX.Y marker is set by a separate workflow step; semver-
generator does not need to see it.
This commit is contained in:
2026-05-09 18:30:46 +01:00
parent 1ff26006f7
commit 5a27b53f30
+6 -5
View File
@@ -19,11 +19,12 @@ blacklist:
- "Merge remote-tracking branch" - "Merge remote-tracking branch"
- "go mod tidy" - "go mod tidy"
# Strip the auto-generated bot-api-vX.Y tag prefix when scanning existing # NOTE: do not configure tag_prefixes here. The action's behaviour with
# tags — those are markers that point at library releases, not version # that option present is to FILTER tags down to those matching the
# sources themselves. # listed prefixes — meaning v0.x.y / v1.x.y tags get ignored and version
tag_prefixes: # numbering restarts from zero. The bot-api-vX.Y tag is created by a
- "bot-api-" # separate workflow step and does not need to participate in version
# selection.
wording: wording:
patch: patch: