[m-rev.] diff: update tools/test_mercury for 0.12.0-beta

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Jan 27 02:55:51 AEDT 2005


Estimated hours taken: 0.5
Branches: main

tools/test_mercury:
	Update to handle the 0.12 branch.

Workspace: /home/jupiter/fjh/ws-jupiter/mercury
Index: tools/test_mercury
===================================================================
RCS file: /home/mercury1/repository/mercury/tools/test_mercury,v
retrieving revision 1.248
diff -u -d -r1.248 test_mercury
--- tools/test_mercury	27 Dec 2004 03:34:46 -0000	1.248
+++ tools/test_mercury	26 Jan 2005 15:54:40 -0000
@@ -151,6 +151,21 @@
 		RELEASE_VERSION=rotd-$DATE
 		RELEASE_VERSION_PATTERN=rotd-*
 		;;
+	0.12)
+		CHECKOUT_OPTS=-rversion-0_12-branch
+		BASE_TAG_NAME=version-0_12-branch
+		FTP_DIR_NAME=0.12.0-beta
+		RELEASE_VERSION=0.12.0-beta-$DATE
+		RELEASE_VERSION_PATTERN=0.12.0-beta-*
+
+		# This is for release 0.12.0 itself
+		# (as opposed to beta releases).
+		#CHECKOUT_OPTS=-rversion-0_12_0
+		#BASE_TAG_NAME=version-0_12_0
+		#FTP_DIR_NAME=0.12.0
+		#RELEASE_VERSION=0.12.0
+		#RELEASE_VERSION_PATTERN=0.12.0*
+		;;
 	0.11)
 		CHECKOUT_OPTS=-rversion-0_11-branch
 		BASE_TAG_NAME=version-0_11-branch
@@ -1029,6 +1044,7 @@
 		$BETA_FTPHOST:$BETA_FTPDIR &&
 	ssh $BETA_FTPHOST "\
 		echo $version > $BETA_FTPDIR/latest-unstable-version" &&
+	([ -d $BETA_WEBDIR ] || mkdir $BETA_WEBDIR) &&
 	rm -f $BETA_WEBDIR/mercury-compiler-$RELEASE_VERSION_PATTERN-unstable.tar.gz &&
 	rm -f $BETA_WEBDIR/mercury-extras-$RELEASE_VERSION_PATTERN-unstable.tar.gz &&
 	rm -f $BETA_WEBDIR/mercury-tests-$RELEASE_VERSION_PATTERN-unstable.tar.gz &&
@@ -1045,6 +1061,7 @@
 	    $BETA_FTPDIR/mercury-gcc-$RELEASE_VERSION_PATTERN-unstable.tar.gz" &&
 	scp $UNSTABLE/mercury-gcc-$version.tar.gz \
 	    $BETA_FTPHOST:$BETA_FTPDIR/mercury-gcc-$version-unstable.tar.gz  &&
+	([ -d $BETA_WEBDIR ] || mkdir $BETA_WEBDIR) &&
 	rm -f $BETA_WEBDIR/mercury-gcc-$RELEASE_VERSION_PATTERN-unstable.tar.gz &&
 	cp $UNSTABLE/mercury-gcc-$version.tar.gz \
 		$BETA_WEBDIR/mercury-gcc-$version-unstable.tar.gz \
-- 
Fergus Henderson                    |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list