Allow relative file names in .include lines (Closes 1971)
[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
6
7OWD=$(pwd -P)
8
9GWD=$(git rev-parse --git-dir)
10
11TWD=$(mktemp -d -t exim) || exit 1
12echo $TWD
13cd $TWD
14
15git clone $GWD
16
17cd exim/src/src
18../scripts/reversion
19. version.sh
20EXIM=exim-${EXIM_RELEASE_VERSION}${EXIM_VARIANT_VERSION}
21
22cd ../..
23mv src $EXIM
24tar cfz $EXIM.tar.gz $EXIM
25mv $EXIM src
26
27cd $OWD
28mv $TWD/exim/$EXIM.tar.gz .
29rm -rf $EXIM
30echo $EXIM.tar.gz