You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cargo-release process seems solid enough to automate tag creation/pushing
we used to do this manually because failures were common from cargo-release
while waiting for the crate to be present on crates.io. this no longer
seems to be the case (particularly with the 20s wait time enforced),
so telling it to publish,tag,push all by itself to lessen number of manual steps.
Signed-off-by: clux <sszynrae@gmail.com>
Copy file name to clipboardExpand all lines: release.toml
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -4,21 +4,21 @@
4
4
#
5
5
# 0. (optional) cargo release minor ; verify readme + changelog bumped; then git reset --hard
6
6
# 1. PUBLISH_GRACE_SLEEP=20 cargo release minor --execute
7
-
#1X. - on failure: follow plan manually, cd into next dirs and publish insequence with cargo publish --features=k8s-openapi/latest
8
-
#2. check consolidated commit
9
-
#2X. - on failure: git commit --amend and insert version
10
-
#3. ./scripts/release-post.sh
7
+
#In the event of failures:
8
+
#- on partial cargo publish failures with unexpected build errors; yank partials and fix issues in a PR before retrying
9
+
#- on cargo-release issues waiting for crates.io: resume publish in given order manually, cd into next dirs and publish in sequence with cargo publish --features=k8s-openapi/latest
10
+
#- after publish; check consolidated commit, amend if needed, then create a manual signed tag without v prefix
0 commit comments