awful.autofocus: Also react on "tagged" signal (FS#883)
[awesome.git] / build-utils / dist.sh
blob7aa290bf7328e596c56586b4367697e9805158be
1 #!/bin/sh
3 # $1 version to package
5 set -e
7 VERSION=$1
8 SVERSION=`echo $1 | sed 's/^v//'`
9 git archive --prefix=dist/awesome-$SVERSION/ $VERSION | tar -xf -
10 cd dist
11 echo -n $VERSION > awesome-$SVERSION/.version_stamp
12 tar cjf awesome-$SVERSION.tar.bz2 awesome-$SVERSION
13 tar cJf awesome-$SVERSION.tar.xz awesome-$SVERSION