]> granicus.if.org Git - docbook-dsssl/commitdiff
Also set the release type to "snapshot" when the version number
authorMichael Smith <xmldoc@users.sourceforge.net>
Fri, 28 Dec 2007 04:47:31 +0000 (04:47 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Fri, 28 Dec 2007 04:47:31 +0000 (04:47 +0000)
contains the string "-pre"

releasetools/Variables.mk

index 48d17cc008dfa8009bd70c8e86b75dadec1bac57..906854a3ef2f894f8fe66afa033f11c639499ecb 100644 (file)
@@ -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