[MPlayer-cvslog] r34992 - branches/1.1/DOCS/tech/release.sh

reimar subversion at mplayerhq.hu
Sat Jun 2 20:11:04 CEST 2012


Author: reimar
Date: Sat Jun  2 20:11:04 2012
New Revision: 34992

Log:
Sync with trunk release.sh

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 20:09:58 2012	(r34991)
+++ branches/1.1/DOCS/tech/release.sh	Sat Jun  2 20:11:04 2012	(r34992)
@@ -5,9 +5,11 @@ dst=MPlayer-$ver
 #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 @@ rm -rf $dst-DOCS/
 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


More information about the MPlayer-cvslog mailing list