X-Git-Url: https://git.exim.org/users/heiko/exim.git/blobdiff_plain/f3b944ee7e771c9747e6a95bbe5bcc3e6e73646b..b8514d1960e259d49ab2c84c89eba52ab993da3f:/release-process/scripts/quickrelease diff --git a/release-process/scripts/quickrelease b/release-process/scripts/quickrelease index 898442dad..24da1f678 100755 --- a/release-process/scripts/quickrelease +++ b/release-process/scripts/quickrelease @@ -4,21 +4,7 @@ set -e trap 'test -n "$TMP_DIR" && rm -r "$TMP_DIR"' EXIT - -OLD_DIR=$(pwd) -GIT_DIR=$(git rev-parse --show-toplevel) -TMP_DIR=$(mktemp -d -t exim-quickrelease.XXXXXX) - -cd $TMP_DIR -git clone $GIT_DIR - -cd exim/src/src -../scripts/reversion -. ./version.sh -EXIM=exim-${EXIM_RELEASE_VERSION}${EXIM_VARIANT_VERSION} - -cd ../.. -mv -v src $EXIM -tar czf $EXIM.tar.gz $EXIM -mv $EXIM.tar.gz $OLD_DIR -echo $EXIM.tar.gz +commit="${1:-HEAD}" +version=`git describe "$commit"` +`dirname $0`/mk_exim_release --no-sizes --no-doc --comp gzip --no-sig --quick "$commit" . +echo $version*