mirror of
https://github.com/michaelrsweet/mxml.git
synced 2024-11-24 11:25:30 +00:00
Update dist script and md5 sums.
This commit is contained in:
parent
6712bf6914
commit
1a53661752
40
makesrcdist
40
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$".
|
||||
#
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user