From 67f027bf3b5b83b31791c7f8dbc488ca50d9ecce Mon Sep 17 00:00:00 2001 From: appflowy Date: Sun, 31 Jul 2022 20:09:41 +0800 Subject: [PATCH] chore: fix instal_macos.sh download glint error --- frontend/scripts/install_dev_env/install_macos.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/scripts/install_dev_env/install_macos.sh b/frontend/scripts/install_dev_env/install_macos.sh index 26a2e5da02..1e746d954d 100755 --- a/frontend/scripts/install_dev_env/install_macos.sh +++ b/frontend/scripts/install_dev_env/install_macos.sh @@ -53,7 +53,7 @@ git config core.hooksPath .githooks # Install go-gitlint printMessage "Installing go-gitlint." GOLINT_FILENAME="go-gitlint_1.1.0_osx_x86_64.tar.gz" -wget https://github.com/llorllale/go-gitlint/releases/download/1.1.0/${GOLINT_FILENAME} +curl -L https://github.com/llorllale/go-gitlint/releases/download/1.1.0/${GOLINT_FILENAME} --output ${GOLINT_FILENAME} tar -zxv --directory .githooks/. -f ${GOLINT_FILENAME} gitlint rm ${GOLINT_FILENAME}