Ensure release version revision numbers are higher than CI build revision numbers.

This commit is contained in:
Chris Young 2014-09-02 20:11:19 +01:00
parent ca6d6abf0f
commit 5e0d290f81

View File

@ -21,17 +21,18 @@
/* NB: AmigaOS revision numbers start at 1 (not 0) and are monotonically
* incremental (v1.20 is higher than v1.3 and not the same as v1.2).
* Consequently, this version pair may not match the user-facing one in
* desktop/version.c.
* desktop/version.c. Release revisions are prepended with 6000 to ensure
* they are higher than CI builds, and make this less confusing.
*/
#define NETSURF_VERSION_MAJOR "3"
#if defined(CI_BUILD)
#define NETSURF_VERSION_MINOR CI_BUILD
#else
#define NETSURF_VERSION_MINOR "4"
#define NETSURF_VERSION_MINOR "6000" "3"
#endif
static const __attribute__((used)) char *verstag = "\0$VER: NetSurf " NETSURF_VERSION_MAJOR "." NETSURF_VERSION_MINOR " (" WT_COMPILEDATE ")\0";
const char * const verdate = WT_COMPILEDATE;
const char * const verarexx = NETSURF_VERSION_MAJOR "." NETSURF_VERSION_MINOR;
const char * const wt_revid = WT_REVID;