diff options
author | GuangrongFu <fu.guangrong@zte.com.cn> | 2017-08-24 15:14:22 +0800 |
---|---|---|
committer | GuangrongFu <fu.guangrong@zte.com.cn> | 2017-08-24 15:14:22 +0800 |
commit | 697856f1b576a155f563aca7b43a500d5794ed1c (patch) | |
tree | 3581e7e3e5971479ef0e7a2f932f981344446a9a /version.properties | |
parent | 8280d2b7b61920c0bc6311ae97181b28eef9fa44 (diff) |
Add version.properties
Add version.properties for *-release-version jobs
Change-Id: I619e2e12dcd9051adf329778b6b035fb1424f433
Issue-ID: HOLMES-41
Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'version.properties')
-rw-r--r-- | version.properties | 13 |
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
|