diff options
author | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2017-09-29 17:00:20 +0000 |
---|---|---|
committer | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2017-09-29 17:00:20 +0000 |
commit | a86163b01a59a97437f6a760aa3d2646508e7586 (patch) | |
tree | 9f8156fad63fdeea9de9c43772b30c4c5d902fca /Version.kmk | |
parent | fe251c558571d82522a39ffe19606cb56d4e64ad (diff) | |
download | VirtualBox-svn-a86163b01a59a97437f6a760aa3d2646508e7586.tar.gz |
Config.kmk: split out release verion information into Version.kmk.
bugref:9009: Release process: improvements
This change moves the main version-related variable in Config.kmk into a new,
separate configuration file. It also changes the VBOX_VERSION_STRING logic
to hard code the current way of creating it (major.minor.build[_prerelease]-
[publisher]). VBOX_RELEASE_EXACT_MATCH is currently set in Version.kmk to
force a consistent build when the prelease variable is set. Please feel
free to introduce something nicer if this troubles you.
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@68940 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'Version.kmk')
-rw-r--r-- | Version.kmk | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/Version.kmk b/Version.kmk new file mode 100644 index 00000000000..a084d28eb24 --- /dev/null +++ b/Version.kmk @@ -0,0 +1,36 @@ +# $Id$ +## @file +# +# The VirtualBox version. +# +# This file gets included by the global Config.kmk. +# + +# +# Copyright (C) 2017 Oracle Corporation +# +# This file is part of VirtualBox Open Source Edition (OSE), as +# available from http://www.virtualbox.org. This file is free software; +# you can redistribute it and/or modify it under the terms of the GNU +# General Public License (GPL) as published by the Free Software +# Foundation, in version 2 as it comes in the "COPYING" file of the +# VirtualBox OSE distribution. VirtualBox OSE is distributed in the +# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. +# + +# Major version. +VBOX_VERSION_MAJOR = 5 +# Minor version. +VBOX_VERSION_MINOR = 2 +# This is the current build number. It should be increased every time we publish a +# new build. The define is available in every source file. Only even build numbers +# will be published, odd numbers are set during development. +VBOX_VERSION_BUILD = 0 +# This can be overridden in LocalConfig.kmk or elsewhere. +# For the convention, see checks near the end of Config.kmk. +VBOX_BUILD_PUBLISHER = +# Just the BETA[n],ALPHA[n],RC[n] indicators. Set to empty string for release. +VBOX_VERSION_PRERELEASE = RC1 +# Force a release-type build with exactly matching Additions etc, even if +# our numbering does not say this is a release build, by setting this non-empty. +VBOX_RELEASE_EXACT_MATCH = |