nextver

A dead simple CLI tool that prints the next semantic version based on the last tag of your git repository.

Install

go install github.com/junk1tm/[email protected]

Usage

usage: nextver [flags] <command>

available commands:
  major
        print the next major version
  minor
        print the next minor version
  patch
        print the next patch version
  current
        print the current version

available flags:
  -debug
        enable debug logs
  -prefix string
        consider only prefixed tags. also, will be used to print the result

GitHub

View Github