diff --git a/Makefile b/Makefile index 91490e416..26c04b277 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -REBAR_VERSION = 3.13.2-emqx-2 +REBAR_VERSION = 3.13.2-emqx-3 REBAR = ./rebar3 PROFILE ?= emqx diff --git a/ensure-rebar3.sh b/ensure-rebar3.sh index 0d77be44a..7b0fec8de 100755 --- a/ensure-rebar3.sh +++ b/ensure-rebar3.sh @@ -7,7 +7,7 @@ VERSION="$1" DOWNLOAD_URL='https://github.com/emqx/rebar3/releases/download' download() { - curl -L "${DOWNLOAD_URL}/${VERSION}/rebar3" -o ./rebar3 + curl -f -L "${DOWNLOAD_URL}/${VERSION}/rebar3" -o ./rebar3 } # get the version number from the second line of the escript