Add build version to the nightly builds (#1390)

Make the Windows nightly build versioning information meaningful. ;)
This commit is contained in:
Karim ElDeeb
2018-05-20 14:54:24 +02:00
committed by Justin Clift
parent 4ab2bee2ac
commit b69e7cd034
3 changed files with 20 additions and 3 deletions
+6
View File
@@ -7,4 +7,10 @@
#define str(s) #s
#define xstr(s) str(s)
#define APP_VERSION xstr(MAJOR_VERSION) "." xstr(MINOR_VERSION) "." xstr(PATCH_VERSION)
// If it is defined by the compiler, then it is a nightly build, and in the YYYYMMDD format.
#ifndef BUILD_VERSION
#define BUILD_VERSION 0
#endif
#endif
+2 -2
View File
@@ -11,8 +11,8 @@ BEGIN
BEGIN
BLOCK "000004B0"
BEGIN
VALUE "FileVersion", APP_VERSION
VALUE "ProductVersion", APP_VERSION
VALUE "FileVersion", APP_VERSION "." xstr(BUILD_VERSION)
VALUE "ProductVersion", APP_VERSION "." xstr(BUILD_VERSION)
VALUE "FileDescription", "DB Browser for SQLite"
VALUE "ProductName", "DB Browser for SQLite"
VALUE "InternalName", "DB Browser for SQLite"