bui;d fix dist script
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
67b2372cac
commit
7c5ab691c8
|
@ -4,9 +4,10 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
VERSION=`echo $1 | sed 's/^v//'`
|
VERSION=$1
|
||||||
git-archive --prefix=dist/awesome-$VERSION/ $VERSION | tar -xf -
|
SVERSION=`echo $1 | sed 's/^v//'`
|
||||||
|
git-archive --prefix=dist/awesome-$SVERSION/ $VERSION | tar -xf -
|
||||||
cd dist
|
cd dist
|
||||||
echo -n $VERSION > awesome-$VERSION/.version_stamp
|
echo -n $VERSION > awesome-$SVERSION/.version_stamp
|
||||||
tar czf awesome-$VERSION.tar.gz awesome-$VERSION
|
tar czf awesome-$SVERSION.tar.gz awesome-$SVERSION
|
||||||
tar cjf awesome-$VERSION.tar.bz2 awesome-$VERSION
|
tar cjf awesome-$SVERSION.tar.bz2 awesome-$SVERSION
|
||||||
|
|
Loading…
Reference in New Issue