2008-06-23 23:07:28 +02:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# $1 version to package
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2008-08-01 16:15:06 +02:00
|
|
|
VERSION=$1
|
|
|
|
SVERSION=`echo $1 | sed 's/^v//'`
|
2008-11-21 11:04:10 +01:00
|
|
|
git archive --prefix=dist/awesome-$SVERSION/ $VERSION | tar -xf -
|
2008-06-23 23:07:28 +02:00
|
|
|
cd dist
|
2008-08-01 16:15:06 +02:00
|
|
|
echo -n $VERSION > awesome-$SVERSION/.version_stamp
|
|
|
|
tar cjf awesome-$SVERSION.tar.bz2 awesome-$SVERSION
|
2009-11-23 14:21:05 +01:00
|
|
|
tar cJf awesome-$SVERSION.tar.xz awesome-$SVERSION
|
2015-12-12 17:34:16 +01:00
|
|
|
|
|
|
|
# vim: filetype=sh:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|