You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2019/06/19 17:06:28 UTC

[couchdb] 01/01: Blacklist all 21.x releases older than 21.2.3

This is an automated email from the ASF dual-hosted git repository.

davisp pushed a commit to branch fix-version-blacklist
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit e39b51d00a9b275a01625958d4b368c020f46d3c
Author: Paul J. Davis <pa...@gmail.com>
AuthorDate: Wed Jun 19 12:04:04 2019 -0500

    Blacklist all 21.x releases older than 21.2.3
    
    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
---
 rebar.config.script | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/rebar.config.script b/rebar.config.script
index 254c674..07b04c9 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.