Browse Source

chore: switch to `emqx/rebar3` 3.19.0-emqx-1

Which should be safe to run on OTP-25.
Andrew Mayorov 3 years ago
parent
commit
202d2b07ff
1 changed files with 4 additions and 1 deletions
  1. 4 1
      scripts/ensure-rebar3.sh

+ 4 - 1
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