git-bump-cli
Bump latest git tag following semver and nothing more.
Installation
npm i -g @gableroux/git-bump
Usage
git bump
_ _ _
__ _(_) |_ | |__ _ _ _ __ ___ _ __
/ _` | | __| | '_ \| | | | '_ ` _ \| '_ \
| (_| | | |_ | |_) | |_| | | | | | | |_) |
\__, |_|\__| |_.__/ \__,_|_| |_| |_| .__/
|___/ |_|
? Select what you desire (Use arrow keys)
❯ patch
minor
major
prepatch
preminor
premajor
prerelease
Successfully fetched tags
Latest tag: v1.0.0
next tag: v1.0.1
Successfully added tag v1.0.1
What this is not
This command line does not aim to replace nice tools such as sindresorhus/np
(which I totally recommend if you're using node). @gableroux/git-bump
won't update package.json
for you, nor publish to npm
or whatever package manager you're using. It is only aimed to bump latest git tag locally.
How to publish
npm i -g np
np
Nope, I'm not eating own dog food here. This project is only intended to interact with git
command line.