diff options
author | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2019-02-19 21:20:36 +0100 |
---|---|---|
committer | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2019-02-20 16:47:03 +0100 |
commit | cbae9e740c7aea5b544e3cfc64af31820699f200 (patch) | |
tree | e4774f0b0c6bf186a4b76d2e0a0b129699b853de /release-process/scripts/quickrelease | |
parent | c05bdbd6fcc573e071652f88b468091f57a0430d (diff) |
mk_exim_release: add --quick option
This allows to cut a "release" on any commit
Diffstat (limited to 'release-process/scripts/quickrelease')
-rwxr-xr-x | release-process/scripts/quickrelease | 22 |
1 files changed, 4 insertions, 18 deletions
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* |