terraform-switcher: Installation via install.sh fails for version 1.0.0
Installation fails using install.sh after release of v1.0.0
Describe alternatives you’ve considered A clear and concise description of any alternative solutions or features you’ve considered.
Additional context
Script output with debug:
warrensbox/terraform-switcher info checking GitHub for latest tag
warrensbox/terraform-switcher debug http_download https://github.com/warrensbox/terraform-switcher/releases/latest
warrensbox/terraform-switcher info found version: 1.0.0 for 1.0.0/linux/amd64
warrensbox/terraform-switcher debug downloading files into /tmp/tmp.7kYA692ao2
warrensbox/terraform-switcher debug http_download https://github.com/warrensbox/terraform-switcher/releases/download/1.0.0/terraform-switcher_1.0.0_linux_amd64.tar.gz
warrensbox/terraform-switcher debug http_download_curl received HTTP status 404
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 18
- Comments: 30 (1 by maintainers)
Commits related to this issue
- fix(tfswitch-bin): remove extraneous dot See https://github.com/warrensbox/terraform-switcher/issues/339 — committed to kunzese/pkgbuilds by kunzese 3 years ago
- fix: Update terraform switch to 1.0.0. Fix has been addressed in https://github.com/warrensbox/terraform-switcher/issues/339 Issue #515 — committed to MatthewJohn/terrareg by MatthewJohn 3 years ago
- fix: Attempt to fix PR335 Fixes: https://github.com/warrensbox/terraform-switcher/pull/335, https://github.com/warrensbox/terraform-switcher/issues/339 — committed to warrensbox/terraform-switcher by yermulnik 3 years ago
- Merge pull request #341 from warrensbox/master Fixes issues related to install.sh - #339 — committed to warrensbox/terraform-switcher by warrensbox 3 years ago
Related:
All of the artifacts contain a leading dot in the version:
Should not 🤞🏻 None feature has been removed. No functional changes were applied. Some security updates were applied. Also some improvements for Windows OS were added. Plus some other minor improvements.
Oh, I missed lower vs upper case in platform names since the new automation 🤦🏻 Re-uploaded new checksums file with checksums added for lowercased filenames.
install.shshould be good now 🤞🏻All good! Thanks for the fix!
@warrensbox Any objections to “downgrade” Ubuntu runner to
ubuntu-20.04?Ref: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories
@warrensbox Looks okay:
As of look of it, this should be all fixed now, inc Homebrew.
@warrensbox Thank you 👍🏻
Yep 😢 Or https://github.com/warrensbox/terraform-switcher/pull/340
To test that, the tap will need to be updated with the new path. (Current HEAD is https://github.com/warrensbox/homebrew-tap/commit/0c26995f40807856bc049b4ca27d0402ce4c4c8e)
At the moment, I can’t even
untap. I guess I will wait for @warrensbox to update the tap when possible.Many Thanks, works on both linux/amd64, linux/arm64 😃
@yermulnik Have updated my use case to confirm - CI running: https://gitlab.dockstudios.co.uk/pub/terrareg/-/pipelines/4769
Many thanks Matt
works on linux/amd64 now, thanks
Fixed and re-uploaded checksums file (manually at this time).