build: do not use git dashed command
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
0e97360d32
commit
8e65cb2037
|
@ -6,7 +6,7 @@ set -e
|
||||||
|
|
||||||
VERSION=$1
|
VERSION=$1
|
||||||
SVERSION=`echo $1 | sed 's/^v//'`
|
SVERSION=`echo $1 | sed 's/^v//'`
|
||||||
git-archive --prefix=dist/awesome-$SVERSION/ $VERSION | tar -xf -
|
git archive --prefix=dist/awesome-$SVERSION/ $VERSION | tar -xf -
|
||||||
cd dist
|
cd dist
|
||||||
echo -n $VERSION > awesome-$SVERSION/.version_stamp
|
echo -n $VERSION > awesome-$SVERSION/.version_stamp
|
||||||
tar czf awesome-$SVERSION.tar.gz awesome-$SVERSION
|
tar czf awesome-$SVERSION.tar.gz awesome-$SVERSION
|
||||||
|
|
Loading…
Reference in New Issue