refactor(build): Download rebar3 from github release
This commit is contained in:
parent
12d706a84c
commit
4e755d80db
2
Makefile
2
Makefile
|
@ -1,4 +1,4 @@
|
||||||
REBAR_VERSION = 3.13.2-emqx-1
|
REBAR_VERSION = 3.13.2-emqx-2
|
||||||
REBAR = ./rebar3
|
REBAR = ./rebar3
|
||||||
|
|
||||||
PROFILE ?= emqx
|
PROFILE ?= emqx
|
||||||
|
|
|
@ -4,8 +4,9 @@ set -euo pipefail
|
||||||
|
|
||||||
VERSION="$1"
|
VERSION="$1"
|
||||||
|
|
||||||
|
DOWNLOAD_URL='https://github.com/emqx/rebar3/releases/download'
|
||||||
download() {
|
download() {
|
||||||
curl -L "https://s3-us-west-2.amazonaws.com/packages.emqx/rebar/rebar3-${VERSION}" -o ./rebar3
|
curl -L "${DOWNLOAD_URL}/${VERSION}/rebar3" -o ./rebar3
|
||||||
}
|
}
|
||||||
|
|
||||||
version() {
|
version() {
|
||||||
|
|
Loading…
Reference in New Issue