Merge "Fix tarball name again"

This commit is contained in:
Jenkins 2017-07-21 03:45:38 +00:00 committed by Gerrit Code Review
commit 288469c4d3
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)