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
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