diff options
author | GuangrongFu <fu.guangrong@zte.com.cn> | 2017-08-24 15:13:46 +0800 |
---|---|---|
committer | GuangrongFu <fu.guangrong@zte.com.cn> | 2017-08-24 15:13:46 +0800 |
commit | fd8e05729e6590562987f74dec5d98ac9b3412d7 (patch) | |
tree | e6a746b181cadc45062668b3a826a1ab59d8e6ab /version.properties | |
parent | 1fdabe805e7c6a6716b3f4f3afea90213e2661cc (diff) |
Add version.properties
Add version.properties for *-release-version jobs
Change-Id: I8b4c7995760dfca31bd8b329df36037b40a610af
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
|