-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Description
It would be useful if git-release could automatically calculate the next semantic version, without having to specify it explicitly.
# if our current latest tag is `1.0.0`
git-release --semver patch # releases 1.0.1
git-release --semver minor # releases 1.1.0
git-release --semver major # releases 2.0.0A simpler solution may be to drop the --semver option and pass patch|minor|major as reserved keywords instead of <tagname>.
git-release patch
git-release minor
git-release majorThe only downside with this usage is that you cannot release tags with the names patch|minor|major.