go-get-release

command
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: MIT Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Like go get, but it downloads and installs the latest release binary from GitHub instead.

Please download a binary from release page and put it in $PATH or build from source with go get.

$ go get -u github.com/rhysd/go-github-selfupdate/cmd/go-get-release

Usage is quite similar to go get. But {package} must be hosted on GitHub. So it needs to start with github.com/.

$ go-get-release {package}

Please note that this command assumes that specified package is following Git tag naming rules and released binaries naming rules described in README.

For example, following command downloads and installs the released binary of ghr to $GOPATH/bin.

$ go-get-release github.com/tcnksm/ghr
Command was updated to the latest version 0.5.4: /Users/you/.go/bin/ghr

$ ghr -version
ghr version v0.5.4 (a12ff1c)

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