Fix tarball name again

I messed up first one:(

Change-Id: Icf81ec03233c38a6ca1a7dafb0a3bb2d3bc8b69e
This commit is contained in:
Michal (inc0) Jastrzebski 2017-07-20 09:39:06 -07:00
parent b7430a07c4
commit cea6c30cdd
1 changed files with 1 additions and 1 deletions

View File

@ -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)