Skip to content

git-release semver support #683

@tjaartvdwalt

Description

@tjaartvdwalt

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.0

A 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 major

The only downside with this usage is that you cannot release tags with the names patch|minor|major.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions