diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2018-01-18 12:03:34 +0100 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2018-01-31 15:08:18 +0000 |
commit | cd526caa7794645382ec7026b7d62c280736e1a3 (patch) | |
tree | 247e97b744f114686b61fb6ce3e86e05d54f7af3 /packaging/rpm | |
parent | 51941632d33a17a96e2c10d1d59d762258b1839f (diff) |
Make rpmbuild.sh use hc2vpp_version
Another step towards hc2vpp release process.
Change-Id: I873782b79368bbf7ee569920378ad53651802e37
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'packaging/rpm')
-rwxr-xr-x | packaging/rpm/rpmbuild.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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/ |