Coder Social home page Coder Social logo

cargo-release's Introduction

cargo release

Build Status Donate

Performs release best-practices, including:

  1. Ensure the git working directory is clean.
  2. Bump the version in Cargo.toml
  3. Create a git tag for this version
  4. Run cargo publish (if not disabled)
  5. Bump version for next development cycle
  6. git push

Features for workspaces include:

  • Report which crates might be able to be skipped
  • Update version ranges in dependent crates
  • Optionally using a single commit for all version bumps

Install

Current release: 0.13.11

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

We recommend calling cargo release --dry-run -vv with your custom options before actually executing it. The dry-run mode with verbose output will print all commands to execute during the release process. And you will get an overview of what's going on.

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.

Donation

I'm now accepting donation on liberapay, if you find my work helpful and want to keep it going.

cargo-release's People

Contributors

sunng87 avatar epage avatar chrifo avatar legneato avatar duelinmarkers avatar antifuchs avatar ordian avatar jake-shadle avatar jstoneham avatar jonas-schievink avatar spacekookie avatar lucab avatar obreitwi avatar laysakura avatar dalance avatar meain avatar atouchet avatar ch00k avatar creepyskeleton avatar goertzenator avatar dflemstr avatar greenhat avatar clux avatar toku-sa-n avatar howardwu avatar detro avatar marwes avatar nickbabcock avatar nickolay avatar romac avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.