3 unstable releases
0.2.1 | Nov 28, 2019 |
---|---|
0.2.0 | Nov 23, 2019 |
0.1.0 | Nov 13, 2019 |
#23 in #asset
4.5MB
237 lines
rgh
Overview
Creates GitHub release and upload asset files
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
- Fork it ( http://github.com/k-nasa/rgh )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request
Licence
Author
Dependencies
~12–24MB
~368K SLoC