Bump the version in defined files based on the environment variable type=(patch|minor|major)
Stage these files and commit
You only need to push to the remote after running this command.
example usage:
type=patch make version-bump
Output
Already on 'master'
Already up to date.
Switched to a new branch 'master-bump-version-to-2.12.1'
[master-bump-version-to-2.12.1 959fcb2] Bump version to 2.12.1
3 files changed, 3 insertions(+), 3 deletions(-)
You only need to push to the remote after running this command.
example usage:
Output