git-bump is a simple extension for git that mimics the usage of npm version for generating new git tags.
git bump <major|minor|patch>If no tags are found, v1.0.0 is created automatically.
Via Go (recommended)
go install github.com/neozmmv/git-bump@latestWindows
irm https://raw.githubusercontent.com/neozmmv/git-bump/master/install.ps1 | iexLinux
curl -fsSL https://raw.githubusercontent.com/neozmmv/git-bump/master/install.sh | bash