Debug: output GnuTLS verbose reason for certificate verify refusal
[exim.git] / release-process / scripts / quickrelease
CommitLineData
af548e04
TF
1#!/bin/sh
2#
3# A really dumb script for making a quick tarball of Exim
4
5set -e
f3b944ee 6trap 'test -n "$TMP_DIR" && rm -r "$TMP_DIR"' EXIT
af548e04 7
f3b944ee
HSHR
8OLD_DIR=$(pwd)
9GIT_DIR=$(git rev-parse --show-toplevel)
10TMP_DIR=$(mktemp -d -t exim-quickrelease.XXXXXX)
af548e04 11
f3b944ee
HSHR
12cd $TMP_DIR
13git clone $GIT_DIR
af548e04
TF
14
15cd exim/src/src
16../scripts/reversion
f3b944ee 17. ./version.sh
af548e04
TF
18EXIM=exim-${EXIM_RELEASE_VERSION}${EXIM_VARIANT_VERSION}
19
20cd ../..
f3b944ee
HSHR
21mv -v src $EXIM
22tar czf $EXIM.tar.gz $EXIM
23mv $EXIM.tar.gz $OLD_DIR
af548e04 24echo $EXIM.tar.gz