mirror of
https://github.com/lukaszraczylo/go-telegram.git
synced 2026-06-05 22:43:59 +00:00
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:
+6
-5
@@ -19,11 +19,12 @@ blacklist:
|
||||
- "Merge remote-tracking branch"
|
||||
- "go mod tidy"
|
||||
|
||||
# Strip the auto-generated bot-api-vX.Y tag prefix when scanning existing
|
||||
# tags — those are markers that point at library releases, not version
|
||||
# sources themselves.
|
||||
tag_prefixes:
|
||||
- "bot-api-"
|
||||
# NOTE: do not configure tag_prefixes here. The action's behaviour with
|
||||
# that option present is to FILTER tags down to those matching the
|
||||
# listed prefixes — meaning v0.x.y / v1.x.y tags get ignored and version
|
||||
# numbering restarts from zero. The bot-api-vX.Y tag is created by a
|
||||
# separate workflow step and does not need to participate in version
|
||||
# selection.
|
||||
|
||||
wording:
|
||||
patch:
|
||||
|
||||
Reference in New Issue
Block a user