Test BuildBot tag push with ssh host key checking disabled

This commit is contained in:
Max Weiss 2021-04-29 15:09:33 -07:00
parent 108764fc51
commit f5407e66d5
Signed by untrusted user: maxweiss
GPG Key ID: C2D8443BA1D372DB
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ function tag_head_and_push() {
fi
git tag -a "g_$(git rev-parse HEAD)" HEAD -m "BuildBot: tag commit for release $(git rev-parse HEAD)" || return 2
git push --tags origin master
env GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" git push --tags origin master
if [ $? -ne 0 ]; then
>&2 echo 'Error during attempted git push of new tag'
return 3