Remove the bot's ssh files before cargo publish !13
1 file changed, +4 −0
Layout: unified · split
.gitbay/release.sh +4
| @@ -57,6 +57,10 @@ for f in "$dist"/*; do | ||
| 57 | 57 | echo "attached $(basename "$f")" |
| 58 | 58 | done |
| 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. | |
| 62 | rm -f .bot_key .known_hosts .ssh_config | |
| 63 | ||
| 60 | 64 | # --locked publishes exactly the dependency versions the tests ran against, |
| 61 | 65 | # rather than whatever resolves at publish time. |
| 62 | 66 | cargo publish --locked |