Commit 1185450
fix: make cargo publish idempotent in release workflow
When the release workflow is re-run (e.g. after fixing a Docker build
failure), cargo publish fails because the version is already on
crates.io. Now checks if the version is already published and skips
with a warning instead of failing the entire workflow.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 46925ce commit 1185450
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
20 | 28 | | |
21 | 29 | | |
22 | 30 | | |
| |||
0 commit comments