diff --git a/scripts/ensure-rebar3.sh b/scripts/ensure-rebar3.sh index e31dba207..1d6794bda 100755 --- a/scripts/ensure-rebar3.sh +++ b/scripts/ensure-rebar3.sh @@ -2,7 +2,7 @@ set -euo pipefail -## rebar3 tag 3.18.0-emqx-1 is compiled using otp24.1.5. +## rebar3 tag 3.19.0-emqx-1 is compiled using latest official OTP-24 image. ## we have to use an otp24-compiled rebar3 because the defination of record #application{} ## in systools.hrl is changed in otp24. OTP_VSN="${OTP_VSN:-$(./scripts/get-otp-vsn.sh)}" @@ -13,6 +13,9 @@ case ${OTP_VSN} in 24*) VERSION="3.18.0-emqx-1" ;; + 25*) + VERSION="3.19.0-emqx-1" + ;; *) echo "Unsupporetd Erlang/OTP version $OTP_VSN" exit 1