From: Heiko Schlittermann (HS12-RIPE) Date: Thu, 20 Dec 2018 22:06:38 +0000 (+0100) Subject: mk_exim_release: output an useful error message when used for older versions X-Git-Url: https://git.exim.org/users/jgh/exim.git/commitdiff_plain/aa672401091ae127b095c2bb479f1de6cc4848ff mk_exim_release: output an useful error message when used for older versions Older releases can't be built with the newer mk_exim_release script, as there are interdependencies with scripts/reversion and version.sh --- diff --git a/release-process/scripts/mk_exim_release b/release-process/scripts/mk_exim_release index 258651775..5bda34c69 100755 --- a/release-process/scripts/mk_exim_release +++ b/release-process/scripts/mk_exim_release @@ -68,6 +68,10 @@ package Context { $context->{v}{security} = $+{security}; $context->{v}{rc} = $+{rc}; + die "$ME: This script doesn't work for versions prior 4.92-RCx. Please checkout an older version.\n" + if $context->{v}{major} < 4 + or $context->{v}{major} == 4 && $context->{v}{minor} < 92; + ### v: $context->{v} # find a valid vcs tag matching the version