Remove the bot's ssh files before cargo publish !13

merged merged by cmc on 2026-10-18 20:36 UTC · krz/orgo:release-publish-clean-tree into main

1 file changed, +4 −0

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