mk_exim_release: output an useful error message when used for older versions
[users/heiko/exim.git] / release-process / scripts / mk_exim_release
index 258651775527821f3911a94a91253c663f0cb022..5bda34c69f2ac317afbb78ad68b225383886ffa4 100755 (executable)
@@ -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