awful.widget: fix iteration over removed elements
[awesome.git] / build-utils / dist.sh
blob2cf6b318521e35e09a97676fbd564c55aa61dc2b
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 czf awesome-$SVERSION.tar.gz awesome-$SVERSION
13 tar cjf awesome-$SVERSION.tar.bz2 awesome-$SVERSION