summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Arrastia <MArrasti@amdocs.com>2018-07-24 11:38:55 +0100
committerMichael Arrastia <MArrasti@amdocs.com>2018-07-24 11:38:55 +0100
commitd892ea32d6fdda9d75f3d9dbbf809f6230d36176 (patch)
treeac69f05276169d21152e3f43111fa3a4cece8d3b
parent9cde0105d030781fc8cd44c87c3ce56f9aca31ba (diff)
Add version.properties file
The version.properties file specifies release and snapshot versions. It is needed to execute the release-version-java-daily job in Jenkins. Change-Id: I56d03c91f32ef54b8caae43636c74e88bcb8b743 Issue-ID: AAI-1398 Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
-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..5128787
--- /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=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