thegeeklab / git-sv

Semantic versioning tool for git based on conventional commits
MIT License
8 stars 1 forks source link

Set `update-major` to "breaking" by default? #117

Open pat-s opened 2 days ago

pat-s commented 2 days ago

Wondering why the default is empty but at the same time there is a release-section that processes breaking changes by also hasn't any commit-type assigned?

xoxys commented 1 day ago

Breaking changes are detected by two mechanisms:

Major version bumps are always performed if the history contains any breaking changes detected by one of the mechanisms described above. The versioning.update-major config option is intended to bump major versions on other commit types, e.g. versioning.update-major: [refactor] to bump the major version also on all refactor commits.

What you are asking for is a default configuration to tread commit messages like breaking: this commit breaks everything as a breaking change by default?