chore: add notion of patchlevel to avoid changing version scheme

This commit is contained in:
Stéphane Lesimple
2020-08-23 16:36:06 +02:00
parent 41887bb25e
commit 4ba33a2c89
2 changed files with 5 additions and 2 deletions

View File

@@ -432,7 +432,10 @@ void InitClosure()
/* Extract the version string */
#ifdef HAVE_UNSTABLE_RELEASE
#if defined(HAVE_UNSTABLE_RELEASE) && defined(PATCHLEVEL)
Closure->cookedVersion = g_strdup_printf("%s (unstable-unofficial patchlevel %d)", VERSION, PATCHLEVEL);
Closure->releaseFlags = MFLAG_DEVEL;
#elif defined(HAVE_UNSTABLE_RELEASE)
Closure->cookedVersion = g_strdup_printf("%s (unstable)", VERSION);
Closure->releaseFlags = MFLAG_DEVEL;
#else