It seems that using the --yes flag with release causes the recommended release type to be used rather than one specified by the command. See examples below.
It looks like a simple fix - will hopefully raise a PR as soon as I can get my head around how the tests work!
$ changelog suggest
0.7.1
$ changelog release --patch
Planning on releasing version 0.7.1. Proceed? [y/N]: N
$ changelog release --minor
Planning on releasing version 0.8.0. Proceed? [y/N]: N
$ changelog release --major
Planning on releasing version 1.0.0. Proceed? [y/N]: N
$ changelog release --major --yes
$ changelog current
0.7.1
It seems that using the
--yes
flag with release causes the recommended release type to be used rather than one specified by the command. See examples below.It looks like a simple fix - will hopefully raise a PR as soon as I can get my head around how the tests work!