Skip to content

Commit

Permalink
chore: support OTP 27
Browse files Browse the repository at this point in the history
  • Loading branch information
id committed Oct 10, 2024
1 parent be5e02a commit b5bd14b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
erlang 26.2.5-1
erlang 27.1-1
7 changes: 5 additions & 2 deletions scripts/ensure-rebar3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b5bd14b

Please sign in to comment.