Working on better release system
authorJohn Hodge <[email protected]>
Sat, 21 Jan 2012 03:58:19 +0000 (11:58 +0800)
committerJohn Hodge <[email protected]>
Sat, 21 Jan 2012 03:58:19 +0000 (11:58 +0800)
MakeReleaseSet
Makefile.Version.cfg

index dea5cf2..e3d7532 100755 (executable)
@@ -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
index 292934a..e229893 100644 (file)
@@ -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
 

UCC git Repository :: git.ucc.asn.au