Skip to content

Commit

Permalink
Install Tilt from binary
Browse files Browse the repository at this point in the history
  • Loading branch information
morancj committed Jan 31, 2022
1 parent e83c56b commit caa4975
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/download-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,10 @@ curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/insta
if ! command -v tilt
then
echo "Installing Tilt for local development"
curl -fsSL https://raw.githubusercontent.com/tilt-dev/tilt/v0.23.8/scripts/install.sh | bash
TILT_VERSION="0.23.8"
# Tilt uses a mixture of Golang and uname style naming in releases
TILT_SOURCE="https://github.com/tilt-dev/tilt/releases/download/v${TILT_VERSION}/tilt.${TILT_VERSION}.$(goos).$(uname -m).tar.gz"
curl -fsSL "${TILT_SOURCE}" | tar -C /usr/local/bin -xz tilt
else
echo "Local tilt binary found, skipping install"
fi
Expand Down

0 comments on commit caa4975

Please sign in to comment.