Replies: 1 comment 2 replies
-
The way I'd improve the situation is to give it a way to roll-back this particular change unless such auto-rollback is disabled explicitly. That way, one wouldn't be left with what seems like a commit and a bunch of tags. The reason it is the way it is is simply that it can deal with this, and that it's nice to manually examine the intermediate step with all the manifest changes. Once or twice I was able to recover from an otherwise permanent failure by 'helping' the manifests along. Actually doing so has been rare though and I can see that by default it should rather clean up after itself if no crate was published or no other networked interaction was performed and succeeded. I have turned this into an |
Beta Was this translation helpful? Give feedback.
-
As I'm still experimenting with a custom registry and publishing our workspace with various "interesting" build scripts and dependencies, publishing fails from time to time. This means
smart-release
has created a massiveRelease xxx
commit with all crate names, tagged a few crates there, and then terminates until I fix the error manually.Subsequently running
smart-release
after addressing the issues will create a new commit with again a lot of crate names. Would it be possible to not create this commit (maybe even automatically if the title/contents match what we're about to release) so that eventually all tags and.cargo_vcs_info.json
point to the same release commit?(I know that this is not applicable when code changes are required within my
git
repository - to be committed separately - but would help with spurious failures on my registry or patch bumps of related dependency crates)Beta Was this translation helpful? Give feedback.
All reactions