mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
29 lines
1.2 KiB
Bash
Executable File
29 lines
1.2 KiB
Bash
Executable File
#!/bin/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
|