mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-10-13 01:17:39 +00:00
Merge pull request #9013 from edsantiago/release_deal_with_set_minus_e--3.0
[v3.0] runner.sh : deal with bash 'set -e'
This commit is contained in:
commit
ade8a92d16
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue