build: dist create bz2 too

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-07-29 16:13:27 +02:00
parent 5298257362
commit 1a8467ff28
1 changed files with 2 additions and 1 deletions

View File

@ -4,8 +4,9 @@
set -e
VERSION=$1
VERSION=`echo $1 | sed 's/^v//'`
git-archive --prefix=dist/awesome-$VERSION/ $VERSION | tar -xf -
cd dist
echo -n $VERSION > awesome-$VERSION/.version_stamp
tar czf awesome-$VERSION.tar.gz awesome-$VERSION
tar cjf awesome-$VERSION.tar.bz2 awesome-$VERSION