Skip to content
/ rgh Public

Creates GitHub release and upload asset files

License

Notifications You must be signed in to change notification settings

k-nasa/rgh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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