From: Jean-Marc Pigeon (Delson) Date: Mon, 31 Mar 2025 13:39:26 +0000 (-0400) Subject: Set Branch within the version number X-Git-Tag: tag-0.7~43 X-Git-Url: https://jmp-git.ovh.safe.ca/?a=commitdiff_plain;h=c89170278d914d580014e77598b6be3c4f494736;p=jmp%2Fmailleur Set Branch within the version number --- diff --git a/lib/subrou.c b/lib/subrou.c index 97cfa69..a00472c 100644 --- a/lib/subrou.c +++ b/lib/subrou.c @@ -21,7 +21,8 @@ //version definition #define VERSION "0.6" -#define RELEASE "31" +#define RELEASE "32" +#define BRANCH "dvl;" //Public variables PUBLIC int debug=0; //debug level @@ -239,7 +240,12 @@ return ascstamp; PUBLIC const char *rou_getversion() { -return VERSION"."RELEASE; +char *vers; + +vers=VERSION"."RELEASE; +if (strlen(BRANCH)>0) + vers=VERSION"."RELEASE"-"BRANCH; +return vers; } /*