mirror of
https://github.com/lukaszraczylo/go-telegram.git
synced 2026-06-05 22:43:59 +00:00
chore(release): require canonical BREAKING CHANGE trailer for major
The bare 'breaking' major-bump keyword was matching substrings like 'breaking-value drift' in commit bodies, producing surprise major bumps. Restrict the major trigger to the canonical Conventional Commits trailer only.
This commit is contained in:
+4
-1
@@ -39,5 +39,8 @@ wording:
|
||||
minor:
|
||||
- "feat"
|
||||
major:
|
||||
- "breaking"
|
||||
# Match only the canonical Conventional Commits trailer. The bare
|
||||
# word "breaking" is too greedy under semver-generator's fuzzy match —
|
||||
# it triggers on substrings like "breaking-value drift" inside a
|
||||
# commit body and wrongly produces a major bump.
|
||||
- "BREAKING CHANGE"
|
||||
|
||||
Reference in New Issue
Block a user