[MPlayer-cvslog] r34991 - trunk/DOCS/tech/release.sh

reimar subversion at mplayerhq.hu
Sat Jun 2 20:09:58 CEST 2012


Author: reimar
Date: Sat Jun  2 20:09:58 2012
New Revision: 34991

Log:
Another minor release script update.

Modified:
   trunk/DOCS/tech/release.sh

Modified: trunk/DOCS/tech/release.sh
==============================================================================
--- trunk/DOCS/tech/release.sh	Sat Jun  2 20:03:32 2012	(r34990)
+++ trunk/DOCS/tech/release.sh	Sat Jun  2 20:09:58 2012	(r34991)
@@ -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