From: John Hodge Date: Sat, 21 Jan 2012 03:58:19 +0000 (+0800) Subject: Working on better release system X-Git-Tag: rel0.15~792^2~26 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=9e6db39480a1631ad278360766dd6a87407e3251;p=tpg%2Facess2.git Working on better release system --- diff --git a/MakeReleaseSet b/MakeReleaseSet index dea5cf26..e3d75327 100755 --- a/MakeReleaseSet +++ b/MakeReleaseSet @@ -5,8 +5,19 @@ if [ $# -ge 1 ]; then else ARCH=x86 fi + +if [ $# -ge 2 ]; then + PLATFORM=$2 +else + PLATFORM=default +fi + mkdir -p Releases/ BUILD_DIST=y ARCH=$ARCH make clean all-install +while [ $# -ge 2 ]; do + BUILD_DIST=y ARCH=$ARCH PLATFORM=$2 make + shift +done tar --transform="s|Dist/($ARCH/)*|Acess/|x" -zcf Releases/Acess2_latest_${ARCH}_bin.tar.gz Dist/$ARCH Dist/Acess2.$ARCH.gz mdeltree b:/Acess2 2>&1 >/dev/null || true mcopy -s Dist/$ARCH/ b:/Acess2 diff --git a/Makefile.Version.cfg b/Makefile.Version.cfg index 292934a7..e2298938 100644 --- a/Makefile.Version.cfg +++ b/Makefile.Version.cfg @@ -1,7 +1,7 @@ -ACESS_VERSION = 0.14 +ACESS_VERSION = 0.15 -ifeq ($(BUILD_DIST),y) - ACESS_VERSION := $(ACESS_VERSION)-rel +ifneq ($(BUILD_DIST),y) + ACESS_VERSION := $(ACESS_VERSION)-pr endif