[Scummvm-cvs-logs] SF.net SVN: scummvm: [30469] scummvm/trunk/tools/dist-scummvm.sh
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Sun Jan 13 13:57:43 CET 2008
Revision: 30469
http://scummvm.svn.sourceforge.net/scummvm/?rev=30469&view=rev
Author: fingolfin
Date: 2008-01-13 04:57:42 -0800 (Sun, 13 Jan 2008)
Log Message:
-----------
Adapted the dist-scummvm.sh tool for SVN usage, making it once more super easy to build release tar balls
Modified Paths:
--------------
scummvm/trunk/tools/dist-scummvm.sh
Modified: scummvm/trunk/tools/dist-scummvm.sh
===================================================================
--- scummvm/trunk/tools/dist-scummvm.sh 2008-01-13 12:54:27 UTC (rev 30468)
+++ scummvm/trunk/tools/dist-scummvm.sh 2008-01-13 12:57:42 UTC (rev 30469)
@@ -3,6 +3,7 @@
# dist-module.sh - make release tarballs for one CVS module
#
# Largely based on dist-fink.sh, Copyright (c) 2001 Christoph Pfisterer
+# Modified to use Subversion instead of SVN by Max Horn
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -21,8 +22,7 @@
### configuration
-#cvsroot=':ext:USER at cvs.sourceforge.net:/cvsroot/scummvm'
-cvsroot=':pserver:anonymous at cvs.sourceforge.net:/cvsroot/scummvm'
+svnroot='https://scummvm.svn.sourceforge.net/svnroot/scummvm'
### init
@@ -40,7 +40,7 @@
fi
fullname="$module-$version"
-echo "packaging $module release $version, CVS tag $tag"
+echo "packaging $module release $version, SVN tag $tag"
### setup temp directory
@@ -54,29 +54,16 @@
exit 1
fi
-### check code out from CVS
+### check code out from SVN
+# TODO: Add support for making tarballs from trunk / branches?
echo "Exporting module $module, tag $tag from CVS:"
-cvs -d "$cvsroot" export -r "$tag" -d $fullname $module
+svn export "$svnroot/$module/tags/$tag" $fullname
if [ ! -d $fullname ]; then
- echo "CVS export failed, directory $fullname doesn't exist!"
+ echo "SVN export failed, directory $fullname doesn't exist!"
exit 1
fi
-### remove any .cvsignore files
-
-find $fullname -name .cvsignore -exec rm {} \;
-
-### versioning
-
-if [ -f $fullname/VERSION ]; then
- echo $version >$fullname/VERSION
-fi
-if [ -f $fullname/stamp-cvs-live ]; then
- rm -f $fullname/stamp-cvs-live
- touch $fullname/stamp-rel-$version
-fi
-
### roll the tarball
echo "Creating tarball $fullname.tar:"
@@ -108,6 +95,6 @@
### finish up
echo "Done:"
-ls -l *.tar.gz
+ls -l $fullname.tar.gz $fullname.tar.bz2 $fullname.zip
exit 0
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list