build: bump oldest otp vsn to OTP-25

This commit is contained in:
JimMoen 2023-12-05 17:23:57 +08:00
parent e8f9c9c522
commit 4cbc0bdece
No known key found for this signature in database
GPG Key ID: 87A520B4F76BA86D
2 changed files with 5 additions and 1 deletions

4
.gitignore vendored
View File

@ -23,6 +23,8 @@ _build
.rebar3 .rebar3
rebar3.crashdump rebar3.crashdump
.DS_Store .DS_Store
# emqx_ds_replication_layer_meta:ensure_site/0
data
etc/gen.emqx.conf etc/gen.emqx.conf
compile_commands.json compile_commands.json
cuttlefish cuttlefish
@ -69,3 +71,5 @@ bom.json
ct_run*/ ct_run*/
apps/emqx_conf/etc/emqx.conf.all.rendered* apps/emqx_conf/etc/emqx.conf.all.rendered*
rebar-git-cache.tar rebar-git-cache.tar
# build docker image locally
.docker_image_tag

View File

@ -15,7 +15,7 @@ do(Dir, CONFIG) ->
end. end.
assert_otp() -> assert_otp() ->
Oldest = 24, Oldest = 25,
Latest = 26, Latest = 26,
OtpRelease = list_to_integer(erlang:system_info(otp_release)), OtpRelease = list_to_integer(erlang:system_info(otp_release)),
case OtpRelease < Oldest orelse OtpRelease > Latest of case OtpRelease < Oldest orelse OtpRelease > Latest of