mirror of
https://github.com/containers/podman.git
synced 2025-06-25 12:20:42 +08:00
Merge pull request #9008 from edsantiago/release_deal_with_set_minus_e
runner.sh : deal with bash 'set -e'
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user