From ffe894651bcf499b35be3aa6ed37ae202abac489 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Fri, 6 Aug 2010 11:49:18 +0200 Subject: [PATCH] check RELEASETYPE var --- all | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 -- 2.39.2