Skip to content

Does cargo release [level] actually run all the steps? #832

Closed Answered by epage
linrongbin16 asked this question in Q&A
Discussion options

You must be logged in to vote

cargo release <level> is a culmination of each step, except cargo release changes. We offer the steps for error recovery and greater customization.

For example in a cargo workspace, I always use the same version for all crates. So I still want to release/publish all crates to the crates.io registry, but with 1 single git tag pushed to github.

You can use workspace.package.version for this or put these packages in the same "version group". You can also disable tagging for all packages and then re-enable it for the one package you want the tag created for. The steps aren't needed for this.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@linrongbin16
Comment options

Answer selected by linrongbin16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants