mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-04-30 08:59:32 -05:00
Add build version to the nightly builds (#1390)
Make the Windows nightly build versioning information meaningful. ;)
This commit is contained in:
committed by
Justin Clift
parent
4ab2bee2ac
commit
b69e7cd034
@@ -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
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user