cargo release

This a script standardize release of cargo project for you.

Basically it runs following tasks:

Install

cargo install cargo-release

Usage

cargo release

Prerequisite

Release level

Use -l [level] or --level [level] to specify a release level.

Signing your git commit and tag

Use --sign option to GPG sign your release commits and tags. Further information

Upload rust doc to github pages

By using --upload-doc option, cargo-release will generate rustdoc during release process, and commit the doc directory to gh-pages branch. So you can access your rust doc at https://YOUR-GITHUB-USERNAME.github.io/YOUR-REPOSITORY-NAME/YOUR-CRATE-NAME

Currently only github pages is supported.

WARNING

This option will override your existed gh-pages branch, use it at your own risk.

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.