summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul J. Davis <paul.joseph.davis@gmail.com>2019-06-19 12:04:04 -0500
committerPaul J. Davis <paul.joseph.davis@gmail.com>2019-07-02 13:07:14 -0500
commitd40419bf37370353e7a3f7fe7f949e9844df4fc5 (patch)
treef73733801d2a8efd1984e3779fb14c625fb8ff89
parentcbf88041012cf634a80b4d1d036276844da988c1 (diff)
downloadcouchdb-fix-version-blacklist.tar.gz
Blacklist all 21.x releases older than 21.2.3fix-version-blacklist
This basically just extends the black list to cover the `21.{0,1}` release range. This is due to a compiler bug [1] which is a duplicate of [2]. [1] https://bugs.erlang.org/browse/ERL-981 [2] https://bugs.erlang.org/browse/ERL-807
-rw-r--r--rebar.config.script3
1 files changed, 1 insertions, 2 deletions
diff --git a/rebar.config.script b/rebar.config.script
index b41917f67..880ea3d5d 100644
--- a/rebar.config.script
+++ b/rebar.config.script
@@ -42,8 +42,7 @@ end.
case VerList of
[20 | _] = V20 when V20 < [20, 3, 8, 11] -> NotSupported(VerString);
[20 | _] = V20 when V20 >= [20, 3, 8, 11] -> ok;
- [21, 2] -> NotSupported(VerString);
- [21, 2, N | _] when N < 3 -> NotSupported(VerString);
+ [21 | _] = V21 when V21 < [21, 2, 3] -> NotSupported(VerString);
_ -> ok
end.