depbump

command module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2019 License: MIT Imports: 8 Imported by: 0

README

depbump

depbump is a very simple command that can be used to bump a Go module, and commit its changes. It's designed to be used in automated tooling to help the process of keeping certain dependencies up to date.

Usage

depbump [-nopush|-version VERSION] PATH [COMMAND]

-version will update to a specific version of the dependency.

Use -nopush to skip the push to origin. You can use this if you need to preview the changes or amend the commit later.

COMMAND can be used to supply a post-update command. You can use this to run any commands or scripts to update any other files post-update. The command line can be Go templated according the specific structure:

type commitTemplateData struct {
	Project string
	Version string // If this is a semver version, it has the "v" removed.
	Target  string
	Path    string
	URL     string
	Vendor  bool
}

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