Apex: Fix building for gambia 57/63357/1
authorTim Rozet <trozet@redhat.com>
Tue, 9 Oct 2018 20:53:17 +0000 (16:53 -0400)
committerTim Rozet <trozet@redhat.com>
Tue, 9 Oct 2018 20:53:17 +0000 (16:53 -0400)
The logic should have been checking for stable/fraser and didn't account
for newer branches other than master.

Change-Id: I1164ce57338ba1734aa68c98bfe22a8a5f4209ac
Signed-off-by: Tim Rozet <trozet@redhat.com>
jjb/apex/apex-build.sh

index a8ed1f8..618d181 100755 (executable)
@@ -67,7 +67,7 @@ fi
 
 if ! echo $ARTIFACT_VERSION | grep "dev" 1> /dev/null; then
   echo "Writing opnfv.properties file"
-  if [ "$BRANCH" != master ]; then
+  if [ "$BRANCH" == 'stable/fraser' ]; then
     # save information regarding artifact into file
     (
       echo "OPNFV_ARTIFACT_VERSION=$OPNFV_ARTIFACT_VERSION"