Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install: support arm64 arch #1185

Merged

Conversation

williamboman
Copy link
Contributor

No description provided.

@@ -41,7 +43,7 @@ else
fi

echo "Downloading TFLint $version"
curl -L -o /tmp/tflint.zip "https://github.com/terraform-linters/tflint/releases/download/${version}/tflint_${os}.zip"
curl --fail --silent -L -o /tmp/tflint.zip "https://github.com/terraform-linters/tflint/releases/download/${version}/tflint_${os}.zip"
Copy link
Contributor Author

@williamboman williamboman Aug 15, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added --fail because now it'd silently proceed, even when met with 404 (the subsequent unzip would fail instead). Also added --silent to reduce some noise. This both seems to be in line with other curl calls in this script. I included this in this PR because it's closely related to identifying which distribution to download

@bendrucker bendrucker merged commit fc5ab44 into terraform-linters:master Aug 15, 2021
williamboman added a commit to williamboman/tflint that referenced this pull request Aug 15, 2021
@williamboman williamboman deleted the install-script-arm64 branch August 17, 2021 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants