Commit f791ee2b86

f791ee2b861e75d8756cbbee9079d23fa920b4c7

parent: dd2489b719

Verified · cmc ci/pages: success ci/test: success

cmc <hello@cleberg.net> · 2026-10-18 20:34 UTC

Remove the bot's ssh files before cargo publish

bot-ssh.sh writes .bot_key, .known_hosts and .ssh_config into the
workspace; cargo publish refuses a dirty tree, so v0.24.1 reached the
release and its binaries but not crates.io.

Layout: unified · split

.gitbay/release.sh +4
@@ -57,6 +57,10 @@ for f in "$dist"/*; do
57 echo "attached $(basename "$f")" 57 echo "attached $(basename "$f")"
58done 58done
59 59
60# bot-ssh.sh writes the bot's key and ssh config into the workspace, which leaves
61# the tree dirty, and `cargo publish` refuses that. Nothing below here uses ssh.
62rm -f .bot_key .known_hosts .ssh_config
63
60# --locked publishes exactly the dependency versions the tests ran against, 64# --locked publishes exactly the dependency versions the tests ran against,
61# rather than whatever resolves at publish time. 65# rather than whatever resolves at publish time.
62cargo publish --locked 66cargo publish --locked