Does cargo release [level]
actually run all the steps?
#832
-
hi, in the reference, I found there are multiple steps: But when I usually use this command, I simply run My question is: does the simple command actually runs all those steps (mentioned above) one by one in order? If I want to deeply customize the release workflow, so I can customize these steps in a shell script? 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. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can use |
Beta Was this translation helpful? Give feedback.
cargo release <level>
is a culmination of each step, exceptcargo release changes
. We offer the steps for error recovery and greater customization.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.