Closed
Description
Can you add a variable for the version in the commit message?
npm version
does this. See https://docs.npmjs.com/cli/version.html
If supplied with -m or --message config option, npm will use it as a commit message when creating a version commit. If the message config contains %s then that will be replaced with the resulting version number. For example:
npm version patch -m "Upgrade to %s for reasons"
So%s
becomes the version - bump --premajor --lock --commit "release %s to the wild"
Thanks!