chore: switch to `emqx/rebar3` 3.19.0-emqx-1
Which should be safe to run on OTP-25.
This commit is contained in:
parent
cab063926c
commit
202d2b07ff
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
set -euo pipefail
|
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{}
|
## we have to use an otp24-compiled rebar3 because the defination of record #application{}
|
||||||
## in systools.hrl is changed in otp24.
|
## in systools.hrl is changed in otp24.
|
||||||
OTP_VSN="${OTP_VSN:-$(./scripts/get-otp-vsn.sh)}"
|
OTP_VSN="${OTP_VSN:-$(./scripts/get-otp-vsn.sh)}"
|
||||||
|
@ -13,6 +13,9 @@ case ${OTP_VSN} in
|
||||||
24*)
|
24*)
|
||||||
VERSION="3.18.0-emqx-1"
|
VERSION="3.18.0-emqx-1"
|
||||||
;;
|
;;
|
||||||
|
25*)
|
||||||
|
VERSION="3.19.0-emqx-1"
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Unsupporetd Erlang/OTP version $OTP_VSN"
|
echo "Unsupporetd Erlang/OTP version $OTP_VSN"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in New Issue