VirtualBox

Changeset 68940 in vbox


Ignore:
Timestamp:
Sep 29, 2017 5:00:20 PM (7 years ago)
Author:
vboxsync
Message:

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.

Location:
trunk
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r68935 r68940  
    199199endif
    200200
    201 
    202 #
    203 # The VirtualBox version.
    204 #
    205 
    206 # Major version.
    207 VBOX_VERSION_MAJOR = 5
    208 # Minor version.
    209 VBOX_VERSION_MINOR = 2
    210 # This is the current build number. It should be increased every time we publish a
    211 # new build. The define is available in every source file. Only even build numbers
    212 # will be published, odd numbers are set during development.
    213 VBOX_VERSION_BUILD = 0
     201include $(PATH_ROOT)/Version.kmk
     202
    214203# The raw version string. This *must not* contain any other information/fields than
    215204# major, minor and build revision (as it is now) -- also will be used for host/guest version
    216205# comparison.
    217206VBOX_VERSION_STRING_RAW = $(VBOX_VERSION_MAJOR).$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD)
    218 # This can be overridden in LocalConfig.kmk or elsewhere.
    219 # For the convension, see checks near the end of Config.kmk.
    220 VBOX_BUILD_PUBLISHER =
    221207# Full version string (may include more than just x.y.z, but no spaces or other problematic chars).
    222208# Note! The BETA[n],ALPHA[n],RC[n] indicators should be inserted before the
    223209#       publisher so that RTStrVersionCompare have a chance of comparing
    224210#       prerelease from different publishers correctly.
     211VBOX_VERSION_SUFFIX=$(ifeq $(VBOX_VERSION_PRERELEASE),,,_$(VBOX_VERSION_PRERELEASE))
    225212VBOX_VERSION_STRING = $(VBOX_VERSION_STRING_RAW)_RC1$(VBOX_BUILD_PUBLISHER)
    226 # Just the BETA[n],ALPHA[n],RC[n] indicators. Set to empty string for release.
    227 VBOX_VERSION_PRERELEASE = RC1
    228 # Force a release-type build with exactly matching Additions etc, even if
    229 # our numbering does not say this is a release build.
    230 VBOX_RELEASE_EXACT_MATCH =
    231213
    232214# Force the additions.sh script to get an exact additions build when we're doing the release.
    233215ifeq ($(int-mod $(VBOX_VERSION_BUILD),2),0)
    234   VBOX_RELEASE_EXACT_MATCH=1
     216  ifeq ($VBOX_VERSION_PRERELEASE),)
     217    VBOX_RELEASE_EXACT_MATCH=1
     218  endif
    235219endif
    236220ifneq ($(VBOX_RELEASE_EXACT_MATCH),)
    237 # export VBOX_ADDITIONS_SH_MODE     = release
    238 # export VBOX_DOCUMENTATION_SH_MODE = release
    239 # export VBOX_EFI_SH_MODE           = release
    240 # export VBOX_EXTPACKS_SH_MODE      = release
     221 export VBOX_ADDITIONS_SH_MODE     = release
     222 export VBOX_DOCUMENTATION_SH_MODE = release
     223 export VBOX_EFI_SH_MODE           = release
     224 export VBOX_EXTPACKS_SH_MODE      = release
    241225endif
    242226
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette