diff options
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/gate_run.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gate_run.sh b/tools/gate_run.sh index 46e9616f3..67bed40a0 100755 --- a/tools/gate_run.sh +++ b/tools/gate_run.sh @@ -77,7 +77,7 @@ function collect_logs { function pack_registry { sudo mkdir "images" - if [ -z "$ZUUL_BRANCH" ]; then + if [ -n "$ZUUL_BRANCH" ]; then BRANCH=$(echo $ZUUL_BRANCH | cut -d/ -f2) else BRANCH=$(echo $ZUUL_REFNAME | cut -d/ -f2) |
