From 85cf6a3aa663ccd91b737dbda4bbc609c882a0ea Mon Sep 17 00:00:00 2001
From: Tim Rozet <trozet@redhat.com>
Date: Mon, 9 May 2016 15:08:10 -0400
Subject: Apex: Fixes daily RPM_VERSION var

Change-Id: Ic7c7305acd63d5b14894dee45639925bf6be405e
Signed-off-by: Tim Rozet <trozet@redhat.com>
---
 jjb/apex/apex.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/jjb/apex/apex.yml b/jjb/apex/apex.yml
index 29e353b64..060cda268 100644
--- a/jjb/apex/apex.yml
+++ b/jjb/apex/apex.yml
@@ -739,7 +739,7 @@
             # start the build
             cd $WORKSPACE/ci
             ./build.sh $BUILD_ARGS
-            RPM_VERSION=$(grep Version $BUILD_DIRECTORY/opnfv-apex.spec | awk '{ print $2 }')-$(echo $OPNFV_ARTIFACT_VERSION | tr -d '_-')
+            RPM_VERSION=$(grep Version: $BUILD_DIRECTORY/opnfv-apex.spec | awk '{ print $2 }')-$(echo $OPNFV_ARTIFACT_VERSION | tr -d '_-')
             # list the contents of BUILD_OUTPUT directory
             ls -al $BUILD_DIRECTORY
             # save information regarding artifact into file
-- 
cgit