view DOCS/tech/release.sh @ 34803:2f751a18aaac

release script: also remove .gitignore from MPlayer SVN.
author reimar
date Sun, 06 May 2012 13:26:31 +0000
parents 0743fc227f05
children d67796f04f99
line wrap: on
line source

#!/bin/bash
# will create checkouts and tarballs in the current dir
ver=1.1
dst=MPlayer-$ver
svnurl=svn://svn.mplayerhq.hu/mplayer/trunk
#svnurl=svn://svn.mplayerhq.hu/mplayer/branches/$ver

rm -rf $dst/ $dst-DOCS/

svn export svn://svn.mplayerhq.hu/mplayer/trunk $dst/
echo $ver > $dst/VERSION

# create HTML docs
cp -a $dst/ $dst-DOCS/
pushd $dst-DOCS/
mkdir -p ffmpeg/libavutil
./configure --yasm='' --language=all
make html-chunked
popd
mv $dst-DOCS/DOCS/HTML $dst/DOCS
rm -rf $dst-DOCS/

# git archive unfortunately is refused
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/