Crates.io | emils-cargo-release |
lib.rs | emils-cargo-release |
version | 0.13.2-alpha.3 |
source | src |
created_at | 2019-07-10 20:17:01.424635 |
updated_at | 2019-07-24 13:40:50.254542 |
description | Cargo subcommand for you to smooth your release process. |
homepage | |
repository | https://github.com/e-nikolov/cargo-release |
max_upload_size | |
id | 148143 |
size | 99,159 |
Performs release best-practices, including:
cargo publish
(if not disabled)git push
Current release: 0.12.0
cargo install cargo-release
cargo release [level]
level
, other CLI
arguments, and configuration file format.We recommend calling cargo release --dry-run
with your custom options before
actually executing it. The dry-run mode will print all commands to
execute during the release process. And you will get an overview of
what's going on.
Here is an example.
$ cargo release --dry-run
cd .
git commit -S -am (cargo-release) version 0.18.3
cd -
cargo publish
Building and exporting docs.
cargo doc --no-deps
cd target/doc/
git init
cd -
cd target/doc/
git add .
cd -
cd target/doc/
git commit -S -am (cargo-release) generate docs
cd -
cd target/doc/
git push -f git@github.com:sunng87/handlebars-rust.git master:gh-pages
cd -
git tag -a 0.18.3 -m (cargo-release) version 0.18.3 -s
Starting next development iteration 0.18.4-pre
cd .
git commit -S -am (cargo-release) start next development iteration 0.18.4-pre
cd -
git push origin --follow-tags
Licensed under either of
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.
I'm now accepting donation on liberapay, if you find my work helpful and want to keep it going.