r-gh-create-release is both an executable binary that can be run, and a library that can be used in Rust programs.
Installing the command-line executable
Assuming you have Rust/Cargo installed , run this command in a terminal:
cargo install r-gh-create-release
It will make the r-gh-create-release command available in your PATH if you've allowed the PATH to be modified when installing Rust . cargo uninstall r-gh-create-release uninstalls.
Adding r_gh_create_release library as a dependency
Run this command in a terminal, in your project's directory:
cargo add r-gh-create-release
To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:
r-gh-create-release = "1.0.54"
The r_gh_create_release library will be automatically available globally.
Read the r_gh_create_release library documentation .
Back to the crate overview .
Readme
r-gh-create-release
A wrapper utility of gh release .
Getting Started
Latest versions are available here
Commandline options.
- h, - - help Show usage.
- - publish Create a new release of gh- create- release. ( For
maintenance)
- - dry- run dry run.
- - determine- version- from STRING
Determines version string from file. ( Cargo. toml,
etc... )
- - notes STRING string
- - tag STRING create release using tag.
- - title STRING string
- - target STRING string
- - file ARRAY string
Examples
Create release with 1 attachment from your main branch.
Release notes will be created automatically.
r-gh-create-release -- file path/to/your/app
Create release with title and 1 attachment.
Release notes will be created automatically.
r-gh-create-release -- title " My First Release!" -- file path/to/your/app
Create release with release notes and 1 attachment.
r-gh-create-release -- notes " Your Release Note" -- file path/to/your/app
Create release with release notes and 1 attachment.
Release notes will be created from file.
r-gh-create-release -- notes path/to/your/notes.txt -- file path/to/your/app
Create release from your branch.
r-gh-create-release -- target your-branch-name -- file path/to/your/app