# HG changeset patch # User reimar # Date 1338660598 0 # Node ID e5e6ba537dd9ce0ebe609e876db59a72ec079285 # Parent 9f5d0eade1bd714ad2a90433360e27157a5f15d6 Another minor release script update. diff -r 9f5d0eade1bd -r e5e6ba537dd9 DOCS/tech/release.sh --- a/DOCS/tech/release.sh Sat Jun 02 17:59:01 2012 +0000 +++ b/DOCS/tech/release.sh Sat Jun 02 18:09:58 2012 +0000 @@ -5,9 +5,11 @@ svnurl=svn://svn.mplayerhq.hu/mplayer/trunk #svnurl=svn://svn.mplayerhq.hu/mplayer/branches/$ver -rm -rf $dst/ $dst-DOCS/ +rm -rf $dst/ $dst-DOCS/ $dst.tar* svn export $svnurl $dst/ +# branches should contain a VERSION file, but +# "previews" generated from trunk need it. if ! test -e $dst/VERSION ; then echo $ver > $dst/VERSION fi @@ -26,6 +28,15 @@ git clone --depth 1 git://git.videolan.org/ffmpeg.git $dst/ffmpeg rm -rf $dst/.git* $dst/ffmpeg/.git* +# create .tar.gz and .tar.xz files tar --owner=0 --group=0 -cf $dst.tar $dst/ xz -k $dst.tar gzip -9 $dst.tar + +# generate checksums/signatures +md5sum $dst.tar.xz > $dst.tar.xz.md5 +sha1sum $dst.tar.xz > $dst.tar.xz.sha1 +md5sum $dst.tar.gz > $dst.tar.gz.md5 +sha1sum $dst.tar.gz > $dst.tar.gz.sha1 +gpg -a --detach-sign $dst.tar.xz +gpg -a --detach-sign $dst.tar.gz