diff options
author | Davide Beatrici <git@davidebeatrici.dev> | 2021-01-06 21:42:48 +0300 |
---|---|---|
committer | Davide Beatrici <git@davidebeatrici.dev> | 2021-01-06 21:42:48 +0300 |
commit | 27471118b58e281d305cc95eda8a262dbbd19bd5 (patch) | |
tree | 8ef1dbe7b87662b7c947564027e0a1455b825b67 /overlay_winx64/overlay_exe_winx64 | |
parent | fe086b41d83d6f488b5b91167c806a87094e32c0 (diff) |
BUILD(versioning): Make use of the 4th part (build/tweak) of the version
The build number can be specified through the new "BUILD_NUMBER" variable.
This change is very important on Windows, for two reasons:
- It allows to easily identify binaries simply by looking at their version.
More specifically, we can guess what build they're part of.
- Right now snapshots can not be updated without uninstalling first, because the version is the same (i.e. 1.4.0).
By increasing the 4th digit of the version for every build we can solve the issue.
This commit also takes care of renaming a few variables so that they're consistent and also clearer.
For example, "version" is now "RELEASE_ID".
Diffstat (limited to 'overlay_winx64/overlay_exe_winx64')
-rw-r--r-- | overlay_winx64/overlay_exe_winx64/overlay_exe.rc.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/overlay_winx64/overlay_exe_winx64/overlay_exe.rc.in b/overlay_winx64/overlay_exe_winx64/overlay_exe.rc.in index 2d6a2ff66..8f1f304a0 100644 --- a/overlay_winx64/overlay_exe_winx64/overlay_exe.rc.in +++ b/overlay_winx64/overlay_exe_winx64/overlay_exe.rc.in @@ -18,8 +18,8 @@ #endif VS_VERSION_INFO VERSIONINFO - FILEVERSION @PROJECT_VERSION_MAJOR@,@PROJECT_VERSION_MINOR@,@PROJECT_VERSION_PATCH@,0 - PRODUCTVERSION @PROJECT_VERSION_MAJOR@,@PROJECT_VERSION_MINOR@,@PROJECT_VERSION_PATCH@,0 + FILEVERSION @PROJECT_VERSION_MAJOR@,@PROJECT_VERSION_MINOR@,@PROJECT_VERSION_PATCH@,@PROJECT_VERSION_TWEAK@ + PRODUCTVERSION @PROJECT_VERSION_MAJOR@,@PROJECT_VERSION_MINOR@,@PROJECT_VERSION_PATCH@,@PROJECT_VERSION_TWEAK@ FILEFLAGSMASK VS_FFI_FILEFLAGSMASK FILEFLAGS (VER_DEBUG|VER_RELEASE) FILEOS VOS_NT_WINDOWS32 |