diff options
author | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2018-12-20 23:06:38 +0100 |
---|---|---|
committer | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2018-12-20 23:06:38 +0100 |
commit | aa672401091ae127b095c2bb479f1de6cc4848ff (patch) | |
tree | 4c85fb2278935a73467f539dfa3f1751f1058a5b /release-process | |
parent | 39244891aea21de27b39b36ba7b16d49a1009df8 (diff) |
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
Diffstat (limited to 'release-process')
-rwxr-xr-x | release-process/scripts/mk_exim_release | 4 |
1 files changed, 4 insertions, 0 deletions
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 |