aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJerry Flood <jf9860@att.com>2017-03-28 17:37:56 -0400
committerJerry Flood <jf9860@att.com>2017-03-28 17:48:20 -0400
commitc1bf545e0e7c39502d555b6f9a9a0ac942597a38 (patch)
tree129617012656784799d617da9ade6092d296df14
parentfc2d067767ed35a818c661edf2d4d3b3f0ecf82a (diff)
Add properties to provide tad for the build
Change-Id: Idca011bd8239d3170b4dfa1eeedc7ab3c902e91c Signed-off-by: Jerry Flood <jf9860@att.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 00000000..d470221b
--- /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=1
+minor=0
+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
+tags="${release_version} ${major}.${minor}-STAGING-latest"