1.2 KiB
OpenVR Advanced Settings Developer Docs
For things that don't directly belong a single place in the source code.
New Patch Release Checklist
Increment Version Numbers
The version number string is kept in the ./build_scripts/compile_version_string.txt file. The file is read by at compile time by whatever needs the current version number. Currently it is being used in 3 locations.
advancedSettings.pro-VERSIONvariable andAPPLICATION_VERSIONdefine.build_scripts\win\common.py- Variable namedVERSION_STRING.installer\installer.nsi- Variable namedVERSION_STRING.
The string should be three digits separated by dots (periods), as described in semantic versioning (like "2.8.0"). Additional qualifiers may be appended with a dash (and only a dash). The QMAKE build script relies on there only being dot separated integers before the first dash. If there are non-integers (or letters) before the first dash the Windows build will fail.
The AppVeyor build server will append the last 8 digits of the commit hash. This is in order to make debugging various versions easier. If -release is found in the original version string, a hash will not be appended.