Apex: Fix pkg install for gambia 17/63517/1
authorTim Rozet <trozet@redhat.com>
Mon, 15 Oct 2018 13:53:24 +0000 (09:53 -0400)
committerTim Rozet <trozet@redhat.com>
Mon, 15 Oct 2018 13:53:24 +0000 (09:53 -0400)
Missed a check where we install packages based on old package
convention.

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

index 10efbe1..bc3311d 100755 (executable)
@@ -47,7 +47,7 @@ else
   RPM_LIST=$(basename $OPNFV_RPM_URL)
   # find version of RPM
   VERSION_EXTENSION=$(echo $(basename $RPM_LIST) | grep -Eo '[0-9]+\.[0-9]+-([0-9]{8}|[a-z]+-[0-9]\.[0-9]+)')
-  if [ "$BRANCH" != 'master' ]; then
+  if [ "$BRANCH" == 'stable/fraser' ]; then
     # build RPM List which already includes base Apex RPM
     RPM_LIST+=" opnfv-apex-undercloud-${VERSION_EXTENSION}.noarch.rpm"
     RPM_LIST+=" python34-opnfv-apex-${VERSION_EXTENSION}.noarch.rpm"