From cd526caa7794645382ec7026b7d62c280736e1a3 Mon Sep 17 00:00:00 2001 From: Marek Gradzki Date: Thu, 18 Jan 2018 12:03:34 +0100 Subject: Make rpmbuild.sh use hc2vpp_version Another step towards hc2vpp release process. Change-Id: I873782b79368bbf7ee569920378ad53651802e37 Signed-off-by: Marek Gradzki --- packaging/rpm/rpmbuild.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packaging/rpm/rpmbuild.sh b/packaging/rpm/rpmbuild.sh index 5d3a30208..7cdc89e39 100755 --- a/packaging/rpm/rpmbuild.sh +++ b/packaging/rpm/rpmbuild.sh @@ -2,8 +2,9 @@ set -xe DIR=$(dirname $0) DIR=$(readlink -f $DIR) +HC2VPP_VERSION=$(${DIR}/hc2vpp_version) ZIPDIR=${DIR}/../../vpp-integration/minimal-distribution/target/ -ZIPFILE=${ZIPDIR}/vpp-integration-distribution-1.18.04-SNAPSHOT-hc.zip +ZIPFILE=${ZIPDIR}/vpp-integration-distribution-${HC2VPP_VERSION}-hc.zip mkdir -p ${DIR}/SOURCES/ cp $ZIPFILE ${DIR}/SOURCES/ cp ${DIR}/honeycomb.spec ${DIR}/SOURCES/ -- cgit 1.2.3-korg