From aa672401091ae127b095c2bb479f1de6cc4848ff Mon Sep 17 00:00:00 2001 From: "Heiko Schlittermann (HS12-RIPE)" Date: Thu, 20 Dec 2018 23:06:38 +0100 Subject: [PATCH] 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 --- release-process/scripts/mk_exim_release | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.25.1