diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2012-10-06 18:12:57 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2012-10-06 18:12:57 +0100 |
commit | 9cb4d00ea9c2252a0a4345c39f4ca95cb8eeadf1 (patch) | |
tree | 11b0d6f2733cfa9abed83b7dcfb29cdf0e32276b /desktop | |
parent | 9c1a04e279f691a9db4b338fc0f52030cc439a13 (diff) | |
download | netsurf-9cb4d00ea9c2252a0a4345c39f4ca95cb8eeadf1.tar.gz netsurf-9cb4d00ea9c2252a0a4345c39f4ca95cb8eeadf1.tar.bz2 |
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
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/version.c | 9 |
1 files changed, 8 insertions, 1 deletions
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; |