ci: fix error check in version upload

This commit is contained in:
Joe Bryan 2023-06-30 13:45:15 -04:00
parent aeca0c0818
commit 6427dcda0a

View File

@ -241,6 +241,7 @@ jobs:
# We don't use -n here because we want to overwrite the version
# string.
gsutil cp ./bazel-bin/version "$target"
exitcode=$?
[ $exitcode -eq 0 ] &&
echo "Upload to $target completed successfully." ||