Categorygithub.com/Doist/github-release-get
modulepackage
0.0.0-20190522194358-3e19d0fbaa1c
Repository: https://github.com/doist/github-release-get.git
Documentation: pkg.go.dev

# README

Command github-release-get downloads single asset from the latest published release of given github repository.

It downloads first asset matching given pattern of the latest published github release to the current directory; it stops if file with such name already exists. For pattern matching see https://golang.org/pkg/path/#Match

Upon successful download it prints name of the downloaded file to stdout.

To access private repositories pass oAuth token via GITHUB_TOKEN environment variable, see https://github.com/settings/tokens page.