tagver

command
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 26, 2024 License: MPL-2.0, GPL-3.0 Imports: 12 Imported by: 0

README

tagver

Tagver manages the boilerplate of managing semantic versions in git tags.

Usage

[!IMPORTANT] tagver does NOT make changes. It only gets, or previews the semantic version of tags of git repositories.

Assume we are in a git repository which is at version tag v2.1.4.

Get the current version:

tagver # v2.1.4

Get what the next patch version would be:

tagver patch # v2.1.5

Get what the next minor version would be:

agver minor # v2.2.0

Get what the next major version would be:

tagver major # v3.0.0

Usage with git:

# make a new tag with the next patch version.
git tag (tagver patch) # v2.1.4
# push the current, v2.1.4, tag to origin.
git push origin (tagver) 

License

tagver is licensed under GPL 3.0.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL