From: Marek Gradzki Date: Thu, 18 Jan 2018 11:03:34 +0000 (+0100) Subject: Make rpmbuild.sh use hc2vpp_version X-Git-Tag: v1.18.04-RC1~43 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=cd526caa7794645382ec7026b7d62c280736e1a3;p=hc2vpp.git Make rpmbuild.sh use hc2vpp_version Another step towards hc2vpp release process. Change-Id: I873782b79368bbf7ee569920378ad53651802e37 Signed-off-by: Marek Gradzki --- 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/