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

feat: get architecture for install #1321

Merged
merged 1 commit into from Mar 3, 2022

Conversation

techsolx
Copy link
Contributor

@techsolx techsolx commented Mar 3, 2022

* add bash function to get architecture
* match arch to available download assets

I noted that uname -m will return aarch64 or aarch,
for arm based machines these changes will allow os var to match
multiple architectures and existing download assets.

Tested on darwin x86_64 (amd64), and linux amd64 and arm64.

    * add bash function to get architecture
    * match arch to available download assets

I noted that `uname -m` will return aarch64 or aarch,
for arm based machines these changes will allow `os` var to match
multiple architectures and existing download assets.

Tested on darwin x86_64 (amd64), and linux amd64 and arm64.
@bendrucker bendrucker changed the title feat: get architecture for install, feat: get architecture for install Mar 3, 2022
@bendrucker
Copy link
Member

Would be nice to have test coverage, attempted that and left notes in #1322

@bendrucker bendrucker merged commit 27d16f8 into terraform-linters:master Mar 3, 2022
@techsolx techsolx deleted the multi-arch-install branch March 4, 2022 05:09
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