codacy / git-version

Git versioning used in Codacy
Apache License 2.0
135 stars 43 forks source link

Avoid double bump #10

Closed andreaTP closed 5 years ago

andreaTP commented 5 years ago

This is a fix #9

The logic slightly changed in this way: Looking at the commit messages since last tag -> if exists at least one breaking we bump by one 1 the major if exists at least one feature and there are no breaking we bump by one the minor

This should prevent accidental multiple bumps.