Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 873 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 873 Bytes

gobump CLI tool

Continuous Integration

About

This tool allows managing the major version in the Go module paths. The module path can be the path of the module itself or one of the module's dependencies

The following example upgrades the module path to v2. The command requires running within a valid Go module directory.

gobump github.com/exampleorg/examplerepo/v2

The following example downgrades the module path to v0/v1. The command requires running within a valid Go module directory.

gobump github.com/exampleorg/examplerepo

Installation

To install into GOBIN folder, run the following command:

go install github.com/danilvpetrov/gobump/cmd/gobump@latest