#github #create #upload #assets #cli

app rgh

Creates GitHub release and upload asset files

3 unstable releases

0.2.1 Nov 28, 2019
0.2.0 Nov 23, 2019
0.1.0 Nov 13, 2019

#61 in #upload

MIT license

4.5MB
237 lines

rgh

Overview

Actions Status crate-name at crates.io

Creates GitHub release and upload asset files

Demo

Demo

Installation

Pre-compiled executables

Get them here

using homebrew

brew install k-nasa/tap/rgh

using cargo

Currently it cannot be built with the stable version.

cargo +beta install rgh
Installation of cargo itself.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Usage

rgh 0.1.0
Creates GitHub release and upload asset files

USAGE:
    rgh [OPTIONS] <tag> <packages>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
        --commit <target-commitish>    Specifies the commitish value that determines where the Git tag is created from.
                                       Can be any branch or commit SHA. Unused if the Git tag already exists. Default:
                                       the repository's default branch (usually master).
    -t, --token <token>                Set Github API Token (By default reads the GITHUB_TOKEN environment variable)
        --title <name>                 The title of the release
    -b, --body <body>                  Text describing the contents of the tag.
        --draft <draft>                 [possible values: true, false]
        --prerelease <prerelease>       [possible values: true, false]

ARGS:
    <tag>         tag
    <packages>    upload packages dir or file

Example

Contribution

  1. Fork it ( http://github.com/k-nasa/rgh )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Licence

MIT

Author

k-nasa

my website

Dependencies

~13–25MB
~390K SLoC