gump

command module
v0.0.0-...-44a50e8 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

README

gump

It is a tool for performing semver versioning for Go Multiple-module repository. For any module, create a tag like <module_path>/v0.0.1 .

Usage

bump up git tag version

Usage:
  gump [flags]

Flags:
  -g, --git-dir string     repository root (the .git directory) (default ".")
  -m, --gomod-dir string   go module root (the go.mod file) (default ".")
  -h, --help               help for gump
      --major              increment major version
      --minor              increment minor version
      --patch              increment patch version (default true)
  -p, --push               push tags
Example

my-repo/foo/bar modules bump versions patch.

$ cd /path/to/my-repo/foo/bar
$ gump --git-dir ../.. --gomod-dir .

or

$ gump --git-dir . --gomod-dir foo/bar

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