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

Add Macbook M1 Version Check #108

Open
ddaskal opened this issue Feb 1, 2022 · 0 comments
Open

Add Macbook M1 Version Check #108

ddaskal opened this issue Feb 1, 2022 · 0 comments

Comments

@ddaskal
Copy link
Contributor

ddaskal commented Feb 1, 2022

Terragrunt binaries for darwin/arm64 started being built as of v0.28.12.

Starting this release, we will be publishing binaries for the darwin/arm64 (compatible with Mac M1 chips) and linux/arm64 platforms.

Executing tgswitch on any version before v0.28.12 should result in an incompatibility error, rather than downloading GitHub's generic 404 page source code and failing to execute.

Example to recreate on Macbook M1:

➜  tgswitch 0.28.11
Downloading https://github.com/gruntwork-io/terragrunt/releases/download/v0.28.11/terragrunt_darwin_arm64 to terragrunt_darwin_arm64
Downloading ...
249562 bytes downloaded.
Switched terragrunt to version "0.28.11"
➜ terragrunt -v
/usr/local/bin/terragrunt: line 7: syntax error near unexpected token `newline'
/usr/local/bin/terragrunt: line 7: `<!DOCTYPE html>'
➜ tgswitch 0.28.12
Downloading https://github.com/gruntwork-io/terragrunt/releases/download/v0.28.12/terragrunt_darwin_arm64 to terragrunt_darwin_arm64
Downloading ...
31663106 bytes downloaded.
Switched terragrunt to version "0.28.12"
➜ terragrunt -v
terragrunt version v0.28.12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant