build: do not use git dashed command

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-11-21 11:04:10 +01:00
parent 0e97360d32
commit 8e65cb2037
1 changed files with 1 additions and 1 deletions

View File

@ -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