Fix syntax error in docker push script. 01/4101/1
authorFraboni, Gino (gf403a) <gino.fraboni@amdocs.com>
Wed, 10 May 2017 18:05:44 +0000 (14:05 -0400)
committerFraboni, Gino (gf403a) <gino.fraboni@amdocs.com>
Wed, 10 May 2017 18:09:37 +0000 (14:09 -0400)
Change-Id: I8182f3c38276b526afe56d67b41f59562e0c9e35
Signed-off-by: Fraboni, Gino (gf403a) <gino.fraboni@amdocs.com>
jjb/include-docker-push.sh

index 015ac74..b056afb 100644 (file)
@@ -29,7 +29,7 @@ if [[ $PROJECT =~ $SEARCH ]] ; then
     if [ "$VERSION" == "1.0.0" ]; then
         docker tag $REPO_PATH:latest $REPO_PATH:1.0-STAGING-latest;
         docker push $REPO_PATH:1.0-STAGING-latest;
-    else if [ "$VERSION" == "1.1.0" ]; then
+    elif [ "$VERSION" == "1.1.0" ]; then
         docker tag $REPO_PATH:latest $REPO_PATH:1.1-STAGING-latest;
         docker push $REPO_PATH:1.0-STAGING-latest;
     else