summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuangrongFu <fu.guangrong@zte.com.cn>2017-08-24 15:12:30 +0800
committerGuangrongFu <fu.guangrong@zte.com.cn>2017-08-24 15:12:30 +0800
commit6874f2a70d15410e498aa984bae1d7e11e674e1e (patch)
tree82a52d4d67cdae1f5f7731ba39a2bc2c1355ddd0
parentf84fc285718899604c9454fb6ecf0a77e1819ae0 (diff)
Add version.properties
Add version.properties for *-release-version jobs Change-Id: I3d9e685a50d5360ab811897db3ce91c0e6ed5100 Issue-ID: HOLMES-41 Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
-rw-r--r--version.properties13
1 files changed, 13 insertions, 0 deletions
diff --git a/version.properties b/version.properties
new file mode 100644
index 0000000..e2595ba
--- /dev/null
+++ b/version.properties
@@ -0,0 +1,13 @@
+# Versioning variables
+# Note that these variables cannot be structured (e.g. : version.release or version.snapshot etc... )
+# because they are used in Jenkins, whose plug-in doesn't support
+
+major=1
+minor=1
+patch=0
+
+base_version=${major}.${minor}.${patch}
+
+# Release must be completed with git revision # in Jenkins
+release_version=${base_version}
+snapshot_version=${base_version}-SNAPSHOT