Skip to content

Commit

Permalink
Merge pull request #268 from id/20241010-support-otp-27
Browse files Browse the repository at this point in the history
chore: support OTP 27
  • Loading branch information
id authored Oct 10, 2024
2 parents be5e02a + b5bd14b commit 69e6b79
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 69e6b79

Please sign in to comment.