Use CI build number as the revision number of the internal version string when available.

This commit is contained in:
Chris Young 2013-11-04 19:50:07 +00:00
parent ea64098699
commit 7c4668aafa

View File

@ -24,7 +24,12 @@
* desktop/version.c.
*/
#define NETSURF_VERSION_MAJOR "3"
#if defined(CI_BUILD)
#define NETSURF_VERSION_MINOR CI_BUILD
#else
#define NETSURF_VERSION_MINOR "2"
#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;