changeset 34894:d67796f04f99

Small improvements to release script, create xz and gzip files etc.
author reimar
date Sat, 02 Jun 2012 15:19:05 +0000
parents 9ca42b4f88e7
children 3688864260e8
files DOCS/tech/release.sh
diffstat 1 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/DOCS/tech/release.sh	Sat Jun 02 15:00:52 2012 +0000
+++ b/DOCS/tech/release.sh	Sat Jun 02 15:19:05 2012 +0000
@@ -7,8 +7,10 @@
 
 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 @@
 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