From: Rudolf Polzer Date: Fri, 6 Aug 2010 09:49:18 +0000 (+0200) Subject: check RELEASETYPE var X-Git-Tag: xonotic-v0.1.0preview~323^2~6 X-Git-Url: http://git.xonotic.org/?a=commitdiff_plain;h=ffe894651bcf499b35be3aa6ed37ae202abac489;p=xonotic%2Fxonotic.git check RELEASETYPE var --- diff --git a/all b/all index 199b7768..50904c9d 100755 --- a/all +++ b/all @@ -860,6 +860,18 @@ case "$cmd" in # release building goes here release-prepare) #"$SELF" each git clean -fxd + case "$RELEASETYPE" in + beta) + msg "Building a BETA" + ;; + release) + msg "Building a RELEASE" + ;; + *) + msg "Must either set RELEASETYPE=beta or RELEASETYPE=release" + exit 1 + ;; + esac verbose rm -rf Xonotic Xonotic*.zip verbose mkdir -p Xonotic verbose date +%Y%m%d > Xonotic/stamp.txt