summaryrefslogtreecommitdiffstats
path: root/packaging/rpm/hc2vpp_version
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/rpm/hc2vpp_version')
-rwxr-xr-xpackaging/rpm/hc2vpp_version12
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}"