QGIS/scripts/make-tarball.sh
lbartoletti 124e26815d Standardize shebangs (was Usr bin env) (#6229)
* Use portable /usr/bin/env/{perl,python} instead of /usr/bin/{perl,python}

* fix perl;add bash

* Fix indentation using modified scripts

* Revert "fix perl;add bash"

This reverts commit be8b9113c25f7c2fb9c8c9bad556fbca2f0c0ba2.

* python3 everywhere

* more bash

* rebase
change perl

* Linux perl; missing from last PR

* fix doxygen_space

* Use portable /usr/bin/env/{perl,python} instead of /usr/bin/{perl,python}

* fix perl;add bash

* Fix indentation using modified scripts

* Revert "fix perl;add bash"

This reverts commit be8b9113c25f7c2fb9c8c9bad556fbca2f0c0ba2.

* python3 everywhere

* more bash

* rebase
change perl

* fix doxygen_space
2018-02-05 03:38:02 -09:00

29 lines
1.2 KiB
Bash
Executable File

#!/usr/bin/env bash
###########################################################################
# make-tarball.sh
# ---------------------
# Date : October 2011
# Copyright : (C) 2011 by Tim Sutton
# Email : tim at kartoza dot com
###########################################################################
# #
# This program is free software; you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation; either version 2 of the License, or #
# (at your option) any later version. #
# #
###########################################################################
# 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