diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2014-09-02 20:11:19 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2014-09-02 20:11:19 +0100 |
commit | 5e0d290f813554b4e4fb3e516fe3f77dddb280dc (patch) | |
tree | 81adbc94c1aa5aba0a27d14574d48f34981a1e66 | |
parent | ca6d6abf0fb03d0f503dc2027669afb6cc881995 (diff) | |
download | netsurf-5e0d290f813554b4e4fb3e516fe3f77dddb280dc.tar.gz netsurf-5e0d290f813554b4e4fb3e516fe3f77dddb280dc.tar.bz2 |
Ensure release version revision numbers are higher than CI build revision numbers.
-rw-r--r-- | amiga/version.c | 7 |
1 files 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; + |