Skip to content

fix: use lowercase os in install.sh archive name - #476

Merged
edenreich merged 1 commit into
mainfrom
fix/issue-468-20261004-1535
Oct 4, 2026
Merged

edenreich merged 1 commit into
mainfrom
fix/issue-468-20261004-1535

Conversation

@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

Summary

install.sh built the archive name from a capitalized OS (Linux / Darwin), so the README one-liner asked for adl_Linux_amd64.tar.gz - an asset no release publishes since .goreleaser.yaml switched to the lowercase {{ .Os }} name template. Every supported platform failed.

  • detect_platform now maps Linux* -> linux and Darwin* -> darwin, matching the goreleaser name_template and npm/bin/install.js.
  • curl download uses -fL so an HTTP error no longer gets saved as the "archive" - the script reports the failed URL instead of the misleading "Failed to extract archive".
  • Dropped the unreachable *Windows* branch in install_binary (the OS case statement already exits for anything other than Linux/Darwin).

Verified the asset names against the real release (adl_linux_amd64.tar.gz, adl_linux_arm64.tar.gz, adl_darwin_amd64.tar.gz, adl_darwin_arm64.tar.gz for v0.66.3). An end-to-end run of the script was not possible in this sandbox (executing bash install.sh is not allow-listed), so the download path was checked by inspection against those asset names.

no docs ticket: internal-only refactor

Closes #468

@inference-gateway-maintainer
inference-gateway-maintainer Bot requested a review from a team as a code owner October 4, 2026 15:37
@edenreich
edenreich merged commit b0a7ab0 into main Oct 4, 2026
1 check passed
@edenreich
edenreich deleted the fix/issue-468-20261004-1535 branch October 4, 2026 15:49
inference-gateway-releaser Bot added a commit that referenced this pull request Oct 4, 2026
## [0.66.4](v0.66.3...v0.66.4) (2026-10-04)

### ♻️ Improvements

* bump go toolchain to 1.26.8 ([#480](#480)) ([fb9473f](fb9473f))

### 🐛 Bug Fixes

* use lowercase os in install.sh archive name ([#476](#476)) ([b0a7ab0](b0a7ab0))

### 📚 Documentation

* **agents:** add code readability guidelines ([#473](#473)) ([f6ef7a8](f6ef7a8))
* align readme quick start with the cli ([#477](#477)) ([26422a0](26422a0))
* fix stale adl-ignore, artifacts vars and examples ([#479](#479)) ([4a5d845](4a5d845))
* **readme:** call generated code tools, not skills ([#478](#478)) ([4373543](4373543))
* **readme:** match issue template section to templates ([#475](#475)) ([b4f6392](b4f6392))

### 🔧 Miscellaneous

* **deps:** bump the go adk to the usage extension release ([#481](#481)) ([ca5f637](ca5f637)), references [inference-gateway/cli#1526](inference-gateway/cli#1526)
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.66.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

@inference-gateway-releaser inference-gateway-releaser Bot added the released Shipped in a release label Oct 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Shipped in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] install.sh requests capitalized archive names that releases no longer publish

1 participant