diff --git a/.tool-versions b/.tool-versions index ef1ed28..c27da44 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1 @@ -erlang 26.2.5-1 +erlang 27.1-1 diff --git a/scripts/ensure-rebar3.sh b/scripts/ensure-rebar3.sh index 18b7549..33d211e 100755 --- a/scripts/ensure-rebar3.sh +++ b/scripts/ensure-rebar3.sh @@ -9,12 +9,15 @@ cd -P -- "$(dirname -- "${BASH_SOURCE[0]}")/.." OTP_VSN=$(erl -noshell -eval 'io:format("~s~n", [erlang:system_info(otp_release)]), halt().') case ${OTP_VSN} in - 25*) - VERSION="3.19.0-emqx-9" + 27*) + VERSION="3.20.0-emqx-3" ;; 26*) VERSION="3.20.0-emqx-1" ;; + 25*) + VERSION="3.19.0-emqx-9" + ;; *) echo "Unsupported Erlang/OTP version $OTP_VSN" exit 1