From: Michael Smith Date: Fri, 28 Dec 2007 04:47:31 +0000 (+0000) Subject: Also set the release type to "snapshot" when the version number X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=67fc58edfb60cbb93c121b7620a6d44eb990b3a5;p=docbook-dsssl Also set the release type to "snapshot" when the version number contains the string "-pre" --- diff --git a/releasetools/Variables.mk b/releasetools/Variables.mk index 48d17cc00..906854a3e 100644 --- a/releasetools/Variables.mk +++ b/releasetools/Variables.mk @@ -130,12 +130,16 @@ ZIPVER=$(RELVER) ifeq (snapshot,$(findstring snapshot,$(RELVER))) RELEASE_TYPE=snapshot else +ifeq (-pre,$(findstring -pre,$(RELVER))) + RELEASE_TYPE=snapshot +else ifeq (.0,$(findstring .0,$(RELVER))) RELEASE_TYPE=dot-zero else RELEASE_TYPE=dot-one-plus endif endif +endif # the following are used to determine what version to compare to # in order to create the WhatsNew file