diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2018-01-10 10:51:11 +0100 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2018-01-11 08:01:53 +0100 |
commit | 3dd06d40b35c5fc3a9e04a7314daf163647b0192 (patch) | |
tree | c151b2de1d2dbd67e62c341a2836acbb9a909377 /packaging/rpm/hc2vpp_version | |
parent | 0651fbe5d97b7eab72a0970fa4158c8019749dd7 (diff) |
Introduce hc2vpp_version
Hc2vpp jar versioning is currently slightly different
than honeycomb DEB/RPM versioning.
This patch introduces hc2vpp_version to reflect that
difference and simplify release process.
In the future unification of versioning scheme should be considered.
Change-Id: I6b6f3c39a7bee9de86163b107f5e6ba941c839ee
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'packaging/rpm/hc2vpp_version')
-rwxr-xr-x | packaging/rpm/hc2vpp_version | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/packaging/rpm/hc2vpp_version b/packaging/rpm/hc2vpp_version new file mode 100755 index 000000000..a084540e3 --- /dev/null +++ b/packaging/rpm/hc2vpp_version @@ -0,0 +1,12 @@ +#!/bin/bash + +# Determines hc2vpp jar version to use while building +# DEB/RPM packages. + +DIR_NAME=$(dirname $0) +VERSION=`$DIR_NAME/version` + +echo "${VERSION}-SNAPSHOT" +# echo "${VERSION}-RC1" +# echo "${VERSION}-RC2" +# echo "${VERSION}" |