sbt/sbt-autoversion

Issues with bumps

kllindke opened this issue · 1 comments

I've tried numerous times to test bumps besides minor (which always hits) but I can't figure out what I'm doing wrong. I have set releaseTagComment and releaseCommitMessage in build.sbt to be "[major] test", but when I run sbt-release it still tries to do a minor bump instead of a major bump (similar issue when I try to do a bugfix). Can someone verify this is working?

Hi there!
Sorry for not answering sooner.
This plugin doesn't act on the releaseTagComment or releaseCommitMessage settings from sbt-release, but rather on the commit messages since the last release.
For example, if you want sbt-autoversion to automatically bump a major version for you, one of the commits since your last release needs to be prefixed by [major].