All Projects → crate-ci → cargo-release

crate-ci / cargo-release

Licence: Apache-2.0, MIT licenses found Licenses found Apache-2.0 LICENSE-APACHE MIT LICENSE-MIT
Cargo subcommand `release`: everything about releasing a rust crate.

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to cargo-release

cargo-clone
A cargo subcommand to fetch the source code of a Rust crate
Stars: ✭ 72 (-91.57%)
Mutual labels:  cargo, cargo-subcommand
cargo-aur
Prepare Rust projects to be released on the Arch Linux User Repository
Stars: ✭ 49 (-94.26%)
Mutual labels:  cargo, cargo-subcommand
cargo-valgrind
A cargo subcommand, that runs valgrind and displays its output in a helpful manner.
Stars: ✭ 66 (-92.27%)
Mutual labels:  cargo, cargo-subcommand
cargo-wix
A cargo subcommand to build Windows installers for rust projects using the WiX Toolset
Stars: ✭ 142 (-83.37%)
Mutual labels:  cargo, cargo-subcommand
cargo-cook
A rust cargo subcommand which cooks your crate
Stars: ✭ 29 (-96.6%)
Mutual labels:  cargo, cargo-subcommand
cargo-supply-chain
Gather author, contributor and publisher data on crates in your dependency graph.
Stars: ✭ 287 (-66.39%)
Mutual labels:  cargo, cargo-subcommand
autotools-rs
build.rs helper to configure and compile autotools and configure/make projects
Stars: ✭ 21 (-97.54%)
Mutual labels:  cargo
nexus-repository-cargo
Nexus Repository Cargo Format
Stars: ✭ 33 (-96.14%)
Mutual labels:  cargo
coding-challenge
Algorithms and Data-structures, problems and solutions in Rust language using cargo-workspaces
Stars: ✭ 17 (-98.01%)
Mutual labels:  cargo
cargo-hack
Cargo subcommand to provide various options useful for testing and continuous integration.
Stars: ✭ 295 (-65.46%)
Mutual labels:  cargo
gist
A simple Github Gist client
Stars: ✭ 27 (-96.84%)
Mutual labels:  cargo
naersk
Build rust crates in Nix. No configuration, no code generation, no IFD. Sandbox friendly. [maintainer: @Patryk27]
Stars: ✭ 440 (-48.48%)
Mutual labels:  cargo
so stupid search
It's my honor to drive you fucking fire faster, to have more time with your Family and Sunshine.This tool is for those who often want to search for a string Deeply into a directory in Recursive mode, but not with the great tools: grep, ack, ripgrep .........every thing should be Small, Thin, Fast, Lazy....without Think and Remember too much ...一…
Stars: ✭ 135 (-84.19%)
Mutual labels:  cargo
cargo-limit
Cargo with less noise: warnings are skipped until errors are fixed, Neovim integration, etc.
Stars: ✭ 105 (-87.7%)
Mutual labels:  cargo
crane
A Nix library for building cargo projects. Never build twice thanks to incremental artifact caching.
Stars: ✭ 348 (-59.25%)
Mutual labels:  cargo
kingslayer
A text-based adventure written in Rust
Stars: ✭ 28 (-96.72%)
Mutual labels:  cargo
teamcity-rust-plugin
TeamCity Rust and Cargo plugin
Stars: ✭ 29 (-96.6%)
Mutual labels:  cargo
crates
crates is an extension aims to help people to manage their dependencies for rust (crates.io & TOML).
Stars: ✭ 156 (-81.73%)
Mutual labels:  cargo
carnet
A Tool for Sandboxing Cargo and Buildscripts
Stars: ✭ 78 (-90.87%)
Mutual labels:  cargo
valist
Web3-native software distribution. Publish and install executables, Docker images, WebAssembly, and more. Powered by Ethereum, IPFS, and Filecoin.
Stars: ✭ 107 (-87.47%)
Mutual labels:  cargo

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 dependent 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.21.1

cargo install cargo-release

Usage

cargo release [level]

  • See the reference for more on level, other CLI arguments, and configuration file format.
  • See also the FAQ 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 the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].