build: dist create bz2 too
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
5298257362
commit
1a8467ff28
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue