release.pl: use sha256 sum for tar ball

This commit is contained in:
Juergen E. Fischer 2019-07-26 20:46:23 +02:00
parent 7ec2101d05
commit 22ca00bfbe
2 changed files with 1 additions and 29 deletions

View File

@ -1,28 +0,0 @@
#!/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

View File

@ -199,7 +199,7 @@ run( "git tag $ltrtag -m 'Long term release $release'", "ltr tag failed" ) if $d
print "Producing archive...\n";
run( "git archive --format tar --prefix=qgis-$version/ $reltag | bzip2 -c >qgis-$version.tar.bz2", "git archive failed" );
run( "md5sum qgis-$version.tar.bz2 >qgis-$version.tar.bz2.md5", "md5sum failed" );
run( "sha256sum qgis-$version.tar.bz2 >qgis-$version.tar.bz2.sha256", "sha256sum failed" );
my @topush;
unless( $dopoint ) {