From 6a6224ed323fdb7442d1a878e00456ef52d58715 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Fri, 3 Sep 2010 09:07:26 +0200 Subject: [PATCH] honor RELEASEDATE env var --- all | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/all b/all index 6b417991..58e1ea40 100755 --- a/all +++ b/all @@ -931,7 +931,11 @@ case "$cmd" in esac verbose rm -rf Xonotic Xonotic*.zip verbose mkdir -p Xonotic - verbose date +%Y%m%d > Xonotic/stamp.txt + if [ -n "$RELEASEDATE" ]; then + verbose echo "$RELEASEDATE" > Xonotic/stamp.txt + else + verbose date +%Y%m%d > Xonotic/stamp.txt + fi verbose git archive --format=tar HEAD -- Docs misc server xonotic-linux-glx.sh xonotic-linux-sdl.sh misc/buildfiles | { verbose cd Xonotic verbose mkdir data fteqcc source source/darkplaces source/fteqcc -- 2.39.2