From 9cb4d00ea9c2252a0a4345c39f4ca95cb8eeadf1 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sat, 6 Oct 2012 18:12:57 +0100 Subject: If you pass CI_BUILD=xxx to make, it will build a CI #xxx into the version string and also mention it in the testament --- desktop/version.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'desktop') diff --git a/desktop/version.c b/desktop/version.c index d24ce5108..262b41fda 100644 --- a/desktop/version.c +++ b/desktop/version.c @@ -1,3 +1,10 @@ -const char * const netsurf_version = "3.0 (Development)"; +#include "utils/testament.h" + +const char * const netsurf_version = "3.0 (Dev" +#if defined(CI_BUILD) + " CI #" CI_BUILD +#endif + ")" + ; const int netsurf_version_major = 3; const int netsurf_version_minor = 0; -- cgit v1.2.3