From 5e0d290f813554b4e4fb3e516fe3f77dddb280dc Mon Sep 17 00:00:00 2001 From: Chris Young Date: Tue, 2 Sep 2014 20:11:19 +0100 Subject: Ensure release version revision numbers are higher than CI build revision numbers. --- amiga/version.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/amiga/version.c b/amiga/version.c index 14be9004a..aa5aa5d6f 100644 --- a/amiga/version.c +++ b/amiga/version.c @@ -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; + -- cgit v1.2.3