Added simple script to generate a tarball

This commit is contained in:
Tim Sutton 2011-10-06 14:06:08 +02:00
parent e55887f62b
commit 7e059aff9e

13
scripts/make-tarball.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/bash
# A simple script to create a release tarball
#
# Tim Sutton, October 2011
TAG_OR_BRANCH="master"
VERSION="1.8.0-dev"
git archive --format=tar --prefix=qgis-${VERSION}/ ${TAG_OR_BRANCH=} | \
bzip2 > /tmp/qgis-${VERSION}.tar.bz2
md5sum /tmp/qgis-${VERSION}.tar.bz2 > \
/tmp/qgis-${VERSION}.tar.bz2.md5