[MPlayer-cvslog] r34985 - branches/1.1/DOCS/tech/release.sh
reimar
subversion at mplayerhq.hu
Sat Jun 2 17:20:35 CEST 2012
Author: reimar
Date: Sat Jun 2 17:20:35 2012
New Revision: 34985
Log:
Update release script for 1.1 branch, update to SVN and
switch it to use the 1.1 branch for checkout.
Modified:
branches/1.1/DOCS/tech/release.sh
Modified: branches/1.1/DOCS/tech/release.sh
==============================================================================
--- branches/1.1/DOCS/tech/release.sh Sat Jun 2 17:19:05 2012 (r34984)
+++ branches/1.1/DOCS/tech/release.sh Sat Jun 2 17:20:35 2012 (r34985)
@@ -2,13 +2,15 @@
# will create checkouts and tarballs in the current dir
ver=1.1
dst=MPlayer-$ver
-svnurl=svn://svn.mplayerhq.hu/mplayer/trunk
-#svnurl=svn://svn.mplayerhq.hu/mplayer/branches/$ver
+#svnurl=svn://svn.mplayerhq.hu/mplayer/trunk
+svnurl=svn://svn.mplayerhq.hu/mplayer/branches/$ver
rm -rf $dst/ $dst-DOCS/
-svn export svn://svn.mplayerhq.hu/mplayer/trunk $dst/
-echo $ver > $dst/VERSION
+svn export $svnurl $dst/
+if ! test -e $dst/VERSION ; then
+ echo $ver > $dst/VERSION
+fi
# create HTML docs
cp -a $dst/ $dst-DOCS/
@@ -24,4 +26,6 @@ rm -rf $dst-DOCS/
git clone --depth 1 git://git.videolan.org/ffmpeg.git $dst/ffmpeg
rm -rf $dst/.git* $dst/ffmpeg/.git*
-tar --owner=0 --group=0 -cjf $dst.tar.bz2 $dst/
+tar --owner=0 --group=0 -cf $dst.tar $dst/
+xz -k $dst.tar
+gzip -9 $dst.tar
More information about the MPlayer-cvslog
mailing list