get-release

command
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2024 License: MIT Imports: 13 Imported by: 0

README

Download and install the latest release of any binary from GitHub.

Installation

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

Usage

Usage is quite similar to go get.

$ 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.

$ 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