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
5757 echo "attached $(basename "$f")"
5858done
5959
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
6064# --locked publishes exactly the dependency versions the tests ran against,
6165# rather than whatever resolves at publish time.
6266cargo publish --locked