X-Git-Url: https://git.exim.org/users/jgh/exim.git/blobdiff_plain/d502442ac32f8964f6cf86469869cecb035d12c0..5b195d6b9592fcef09b0b3b31390e73226deffc9:/release-process/scripts/quickrelease?ds=sidebyside diff --git a/release-process/scripts/quickrelease b/release-process/scripts/quickrelease index dd16fa0f5..24da1f678 100755 --- a/release-process/scripts/quickrelease +++ b/release-process/scripts/quickrelease @@ -3,28 +3,8 @@ # A really dumb script for making a quick tarball of Exim set -e - -OWD=$(pwd -P) - -GWD=$(git rev-parse --git-dir) - -TWD=$(mktemp -d -t exim) || exit 1 -echo $TWD -cd $TWD - -git clone $GWD - -cd exim/src/src -../scripts/reversion -. version.sh -EXIM=exim-${EXIM_RELEASE_VERSION}${EXIM_VARIANT_VERSION} - -cd ../.. -mv src $EXIM -tar cfz $EXIM.tar.gz $EXIM -mv $EXIM src - -cd $OWD -mv $TWD/exim/$EXIM.tar.gz . -rm -rf $EXIM -echo $EXIM.tar.gz +trap 'test -n "$TMP_DIR" && rm -r "$TMP_DIR"' EXIT +commit="${1:-HEAD}" +version=`git describe "$commit"` +`dirname $0`/mk_exim_release --no-sizes --no-doc --comp gzip --no-sig --quick "$commit" . +echo $version*