summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVenkata Harish K Kajur <vk250x@att.com>2017-05-11 06:09:38 +0000
committerVenkata Harish K Kajur <vk250x@att.com>2017-05-11 06:10:11 +0000
commit8bd2ce3728e9f638d25ad386e5c794bc8ac0c9f5 (patch)
treee74cc740526c978379b03af885a64332094c8704
parent46366e33020e152dba0d5a2b8d3bc9542d44f72a (diff)
Update the bugfix the docker push script with elif
Change-Id: I77e6305ca7338e3e7f61fa48ea547b0609123867 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
-rw-r--r--jjb/include-docker-push.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/include-docker-push.sh b/jjb/include-docker-push.sh
index 015ac7453..b056afb19 100644
--- a/jjb/include-docker-push.sh
+++ b/jjb/include-docker-push.sh
@@ -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