From 83aa7de17bf175ce64869f70c54de3882e047a1f Mon Sep 17 00:00:00 2001 From: Li Haoyi Date: Mon, 8 Jul 2019 12:59:31 +0800 Subject: fix assembly download path --- mill | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mill') diff --git a/mill b/mill index ab5011be..e9690032 100755 --- a/mill +++ b/mill @@ -3,7 +3,7 @@ # This is a wrapper script, that automatically download mill from GitHub release pages # You can give the required mill version with MILL_VERSION env variable # If no version is given, it falls back to the value of DEFAULT_MILL_VERSION -DEFAULT_MILL_VERSION=0.4.2 +DEFAULT_MILL_VERSION=0.5.0 set -e @@ -23,7 +23,7 @@ MILL_EXEC_PATH="${MILL_DOWNLOAD_PATH}/$MILL_VERSION" if [ ! -x "$MILL_EXEC_PATH" ] ; then mkdir -p $MILL_DOWNLOAD_PATH DOWNLOAD_FILE=$MILL_EXEC_PATH-tmp-download - MILL_DOWNLOAD_URL="https://github.com/lihaoyi/mill/releases/download/${MILL_VERSION%%-*}/$MILL_VERSION" + MILL_DOWNLOAD_URL="https://github.com/lihaoyi/mill/releases/download/${MILL_VERSION%%-*}/$MILL_VERSION-assembly" curl --fail -L -o "$DOWNLOAD_FILE" "$MILL_DOWNLOAD_URL" chmod +x "$DOWNLOAD_FILE" mv "$DOWNLOAD_FILE" "$MILL_EXEC_PATH" -- cgit v1.2.3