-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publish after all local/remote source changes #103
Comments
I've actually had the opposite experience with my manual releases and I've been looking forward to cargo-release's order (haven't switched yet; working on the features I need). My problem is there have been times where my So ideally we find a way to satisfy both use cases. |
How protective is your master? The most basic is no force-push but I'm assuming there is more here, like no pushing at all. Are you manually pushing to a branch to then create a PR? How do you propagate tags? I'm wondering
|
ooh, interesting~! our usual release process uses bors, so you create a release branch with the cargo version update, merge that, then publish from master (and tag anywhere along the way). which, thinking about more, it, may be too specific of a use case for this to work perfectly / maybe is better managed manually... |
And like I said, it might be reasonable to support changing what branch we push to, making it so you don't need to disable the push feature of |
I find it odd that the default behavior is for resuming. In my mind, that should be explicit, with maybe calling the option EDIT: A transaction log seems like it could also be brittle (had problems in other tools with similar files). If maven makes it work, then maybe I'm overly concerned. |
hi hi,
thanks for making such a useful crate!
i think the order in which things are published is incorrect, leading to less than ideal package states on failure (as i discovered here.
for example, running
cargo release
with a protected master branch results in:leaving the project with a published version on crates.io, without the matching source code.
i propose that the ordering be changed to:
so that if any of the source-related stages fail, the crate will not be published to crates.io.
The text was updated successfully, but these errors were encountered: