From 1a536617522db82ccaa65a3b4095ae00a8943132 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sat, 26 Feb 2005 05:36:25 +0000 Subject: [PATCH] Update dist script and md5 sums. --- makesrcdist | 40 ++++++++++++++++++++-------------------- www/data/software.md5 | 4 ++-- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/makesrcdist b/makesrcdist index 288cbd5..2565671 100755 --- a/makesrcdist +++ b/makesrcdist @@ -1,16 +1,12 @@ #!/bin/sh # +# "$Id$" +# # makesrcdist - make a source distribution of mxml. # echo "Getting distribution..." -CVS_RSH=ssh; export CVS_RSH -MAINTAINER=mike - -cd /tmp -cvs -q -d$MAINTAINER@tango.easysw.com:/development/cvs get mxml - if test $# = 0; then echo -n "Version number for distribution? " read version @@ -18,34 +14,38 @@ else version=$1 fi -rm -rf mxml-$version -mv mxml mxml-$version -cd mxml-$version +cd /tmp -if test x$version != xsnapshot; then - echo "Tagging release..." +if test $version = snapshot; then + url="https://svn.easysw.com/public/mxml/trunk" +else + url="https://svn.easysw.com/public/mxml/tags/release-$version" - tag=`echo v$version | tr '.' '_'` - - cvs tag -F $tag + svn copy https://svn.easysw.com/public/mxml/trunk "$url" \ + -m "Tag $version" || exit 1 fi -echo "Removing CVS directories..." +rm -rf mxml-$version +svn export $url mxml-$version +cd mxml-$version -find . -name .cvsignore -exec rm -f '{}' \; -find . -name CVS -exec rm -rf '{}' \; +echo "Removing Subversion files and directories..." -rm makesrcdist +rm -f makesrcdist TODO rm -rf www cd .. -echo "Making UNIX distribution..." +echo "Making .tar.gz distribution..." gtar czf mxml-$version.tar.gz mxml-$version echo "Removing distribution directory..." -#rm -rf mxml-$version +rm -rf mxml-$version echo "Done!" + +# +# End of "$Id$". +# diff --git a/www/data/software.md5 b/www/data/software.md5 index a6ce793..d0f98f5 100644 --- a/www/data/software.md5 +++ b/www/data/software.md5 @@ -1,5 +1,5 @@ - 2.2 mxml/2.2/mxml-2.2-1.i386.rpm - 2.2 mxml/2.2/mxml-2.2.tar.gz +136f9dc7e44aaacc15747bd42222197c 2.2 mxml/2.2/mxml-2.2-1.i386.rpm +2c28aedee8a06eac173104a3fccce096 2.2 mxml/2.2/mxml-2.2.tar.gz e30ff88b15f74964e20d80c6577a1cb9 2.1 mxml/2.1/mxml-2.1-1.i386.rpm 35f829a907c0319f83a3661591788ed3 2.1 mxml/2.1/mxml-2.1.tar.gz 2d010aa0cfc1058aa48b3c03bc3781ec 2.0 mxml/2.0/mxml-2.0-1.i386.rpm