Merge pull request #9008 from edsantiago/release_deal_with_set_minus_e

runner.sh : deal with bash 'set -e'
This commit is contained in:
OpenShift Merge Robot 2021-01-19 11:34:14 -05:00 committed by GitHub
commit d99e475dd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -210,7 +210,8 @@ function _run_release() {
bin/podman info
msg "Checking podman release (or potential release) criteria."
dev=$(bin/podman info |& grep -- -dev)
# We're running under 'set -eo pipefail'; make sure this statement passes
dev=$(bin/podman info |& grep -- -dev || echo -n '')
if [[ -n "$dev" ]]; then
die "Releases must never contain '-dev' in output of 'podman info' ($dev)"
fi