Popularity
6.7
Growing
Activity
9.1
-
712
14
60

Programming language: Rust
License: GNU General Public License v3.0 or later
Tags: Development Tools     Build System     Cargo    
Latest version: v0.17.1

cargo-release alternatives and similar packages

Based on the "Cargo" category.
Alternatively, view cargo-release alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of cargo-release or a related project?

Add another 'Cargo' Package

README

cargo release

Features

  • Ensure you are in a good state for release, including:
    • Right branch
    • Up-to-date with remote
    • Clean tree
  • Supports workspaces using cargo's native flags, like --workspace, --exclude and --package
    • Updates depednent crates in workspace when changing version
    • Change detection to help guide in what crates might not need a release
    • Optionally share commits
  • Handles cargo publish, tagging, and pushing
  • Pre-release search and replace for custom version updates, including
    • Updating changelogs
    • Update tags in Dockerfiles
  • Pre-release hook for extra customization, including

Install

Current release: 0.17.1

cargo install cargo-release

Usage

cargo release [level]

  • See the [reference](docs/reference.md) for more on level, other CLI arguments, and configuration file format.
  • See also the [FAQ](docs/faq.md) for help in figuring out how to adapt cargo-release to your workflow.

Prerequisite

  • Your project should be managed by git.

Dry run

By default, cargo-release runs in dry-run mode so you can safely run it and verify what it will do.

  • Increase the logging level with each additional -v to get more details
  • Speed up dry-run by skipping cargo-publishs verify step with --no-verify

Once you are ready, pass the --execute flag.

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.


*Note that all licence references and agreements mentioned in the cargo-release README section above are relevant to that project's source code only.