mirror of
https://github.com/lukaszraczylo/go-telegram.git
synced 2026-07-11 06:33:22 +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"
|
- "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:
|
||||||
|
|||||||
Reference in New Issue
Block a user