RiotGamesMinions / thor-scmversion

Thor tasks to manage a VERSION file based on SCM tags
MIT License
58 stars 22 forks source link

Allow auto version bump for cookbooks #35

Closed drpebcak closed 10 years ago

drpebcak commented 10 years ago

thor version:bump auto does not work with chef cookbooks as it bumps build number (chef only allows for major, minor, and patch).

An option like thor version:bump chef_auto would be appreciated to bump the patch version unless otherwise specified in the commit message.

ivey commented 10 years ago

The -d flag sets the default if nothing was found in the commit logs:

thor version:bump auto -d patch

drpebcak commented 10 years ago

Beautiful! Thank you!