-9pblq
Last Updated: February 25, 2016
·
740
· tcnksm
Ecb3acc2d246962361a4f8b3f7a6dd12

Easy to ship your project on Github to your user

tcnksm/ghr

ghr enable you to create Release on Github and upload your artifacts to it. ghr will parallelize upload multiple artifacts.

Demo

Here is demo shows how ghr works.

In demo, ghr is creating release with tag v0.1.0 and uploads 6 artifacts in parallel. Result is here.

Usage

Usage is very simple. Just:

$ ghr <tag> <path-to-your-artifacts>

ghr will automatically collect information necessary.

You can set some options:

$ ghr \
    -t <token> \              # Set Github API Token
    -u <username> \     # Set Github username
    -r <repository> \     # Set repository name
    <tag> <path-to-your-artifacts>

Install

If you are OSX user, you can use Homebrew:

$ brew tap tcnksm/ghr
$ brew install ghr

If you are in another platform (OS), you can install it with curl:

$ L=/usr/local/bin/ghr && curl -sL -A "`uname -sp`"  http://ghr.herokuapp.com/ghr.zip | zcat >$L && chmod +x $L

You can also download binary from relase page and place it in $PATH directory.

Say Thanks
Respond