comparison DOCS/tech/release.sh @ 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 2f751a18aaac
children e5e6ba537dd9
comparison
equal deleted inserted replaced
34893:9ca42b4f88e7 34894:d67796f04f99
5 svnurl=svn://svn.mplayerhq.hu/mplayer/trunk 5 svnurl=svn://svn.mplayerhq.hu/mplayer/trunk
6 #svnurl=svn://svn.mplayerhq.hu/mplayer/branches/$ver 6 #svnurl=svn://svn.mplayerhq.hu/mplayer/branches/$ver
7 7
8 rm -rf $dst/ $dst-DOCS/ 8 rm -rf $dst/ $dst-DOCS/
9 9
10 svn export svn://svn.mplayerhq.hu/mplayer/trunk $dst/ 10 svn export $svnurl $dst/
11 echo $ver > $dst/VERSION 11 if ! test -e $dst/VERSION ; then
12 echo $ver > $dst/VERSION
13 fi
12 14
13 # create HTML docs 15 # create HTML docs
14 cp -a $dst/ $dst-DOCS/ 16 cp -a $dst/ $dst-DOCS/
15 pushd $dst-DOCS/ 17 pushd $dst-DOCS/
16 mkdir -p ffmpeg/libavutil 18 mkdir -p ffmpeg/libavutil
22 24
23 # git archive unfortunately is refused 25 # git archive unfortunately is refused
24 git clone --depth 1 git://git.videolan.org/ffmpeg.git $dst/ffmpeg 26 git clone --depth 1 git://git.videolan.org/ffmpeg.git $dst/ffmpeg
25 rm -rf $dst/.git* $dst/ffmpeg/.git* 27 rm -rf $dst/.git* $dst/ffmpeg/.git*
26 28
27 tar --owner=0 --group=0 -cjf $dst.tar.bz2 $dst/ 29 tar --owner=0 --group=0 -cf $dst.tar $dst/
30 xz -k $dst.tar
31 gzip -9 $dst.tar