From 1965f00f4ce067bd527a68f1ee59af9f443cace9 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Thu, 8 Mar 2012 15:50:40 +0100 Subject: [PATCH] remove suffix from pk3 names --- misc/tools/all/release.subr | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/misc/tools/all/release.subr b/misc/tools/all/release.subr index df50cfe9..a4dcaf8b 100644 --- a/misc/tools/all/release.subr +++ b/misc/tools/all/release.subr @@ -167,8 +167,17 @@ case "$cmd" in verbose mkdir -p Xonotic if [ -n "$RELEASEDATE" ]; then verbose $ECHO "$RELEASEDATE" > Xonotic/stamp.txt + case "$RELEASETYPE" in + release) + verbose $ECHO "${RELEASEDATE%_*}" > Xonotic/pk3stamp.txt + ;; + *) + verbose $ECHO "$RELEASEDATE" > Xonotic/pk3stamp.txt + ;; + esac else verbose date +%Y%m%d > Xonotic/stamp.txt + verbose date +%Y%m%d > Xonotic/pk3stamp.txt fi release_git_extract_dir "." "Xonotic" Docs misc server xonotic-linux-glx.sh xonotic-linux-sdl.sh misc/buildfiles key_0.d0pk COPYING GPL-2 GPL-3 ( @@ -503,7 +512,7 @@ case "$cmd" in ;; release-buildpk3s) release_common - stamp=`cat Xonotic/stamp.txt` + stamp=`cat Xonotic/pk3stamp.txt` src=$1 shift dst=${src%.pk3dir} -- 2.39.2