git://git.exim.org
/
users
/
jgh
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mk_exim_release: output an useful error message when used for older versions
[users/jgh/exim.git]
/
release-process
/
scripts
/
mk_exim_release
diff --git
a/release-process/scripts/mk_exim_release
b/release-process/scripts/mk_exim_release
index 258651775527821f3911a94a91253c663f0cb022..5bda34c69f2ac317afbb78ad68b225383886ffa4 100755
(executable)
--- 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};
$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
### v: $context->{v}
# find a valid vcs tag matching the version