aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-08-17 12:04:11 -0700
committerGary Wu <gary.i.wu@huawei.com>2017-08-17 12:04:45 -0700
commitfb53b4b94742d41c8373ccc10d84341a33280a3d (patch)
treef2c354c936a801395e3e480a24751868ad36567a
parentfc3e465494fa354de2a74675a5127fc6446780e5 (diff)
Add version.properties to support staging build
Change-Id: I81b7db07ed496f0a00e35ca9f68d7869eb7f674a Issue-id: INT-103 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
-rw-r--r--version.properties14
1 files changed, 14 insertions, 0 deletions
diff --git a/version.properties b/version.properties
new file mode 100644
index 0000000..f841ab7
--- /dev/null
+++ b/version.properties
@@ -0,0 +1,14 @@
+###########################################################
+# 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_version=0
+minor_version=1
+patch_version=0
+
+base_version=${major_version}.${minor_version}.${patch_version}
+
+# Release must be completed with GIT information # in Jenkins
+release_version=${base_version}
+snapshot_version=${base_version}-SNAPSHOT \ No newline at end of file