From cea6c30cdd537b77487366ae4ad1e8bb9b7ba91c Mon Sep 17 00:00:00 2001 From: "Michal (inc0) Jastrzebski" Date: Thu, 20 Jul 2017 09:39:06 -0700 Subject: [PATCH] Fix tarball name again I messed up first one:( Change-Id: Icf81ec03233c38a6ca1a7dafb0a3bb2d3bc8b69e --- tools/gate_run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gate_run.sh b/tools/gate_run.sh index 46e9616f35..67bed40a01 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)