From 202d2b07ff07ee7ce71cf144cf6b9d0769bed0d2 Mon Sep 17 00:00:00 2001 From: Andrew Mayorov Date: Thu, 8 Dec 2022 14:12:21 +0300 Subject: [PATCH] chore: switch to `emqx/rebar3` 3.19.0-emqx-1 Which should be safe to run on OTP-25. --- scripts/ensure-rebar3.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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