2008-06-23 23:07:28 +02:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# $1 version to package
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2008-07-29 16:13:27 +02:00
|
|
|
VERSION=`echo $1 | sed 's/^v//'`
|
2008-06-23 23:07:28 +02:00
|
|
|
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
|
2008-07-29 16:13:27 +02:00
|
|
|
tar cjf awesome-$VERSION.tar.bz2 awesome-$VERSION
|