Update dist script and md5 sums.

This commit is contained in:
Michael R Sweet 2005-02-26 05:36:25 +00:00
parent 6712bf6914
commit 1a53661752
2 changed files with 22 additions and 22 deletions

View File

@ -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$".
#

View File

@ -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