github-release-get

command module
v0.0.0-...-3e19d0f Latest Latest
Warning

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

Go to latest
Published: May 22, 2019 License: MIT Imports: 12 Imported by: 0

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.

Documentation

Overview

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL