fix(installers): archive format and extraction fixes (gh, goreleaser, ollama, pandoc, sd, yq) - #1086
Merged
Merged
Conversation
coolaj86
force-pushed
the
ref-installer-script-fixes
branch
from
May 14, 2026 21:19
2966fe1 to
bff4ce2
Compare
coolaj86
force-pushed
the
ref-installer-script-fixes
branch
from
May 14, 2026 21:25
bff4ce2 to
9a0c892
Compare
5 tasks
coolaj86
force-pushed
the
ref-installer-script-fixes
branch
3 times, most recently
from
May 18, 2026 00:26
1afd928 to
998542c
Compare
coolaj86
force-pushed
the
ref-installer-script-fixes
branch
from
May 18, 2026 00:27
998542c to
d507ff0
Compare
coolaj86
force-pushed
the
ref-installer-script-fixes
branch
2 times, most recently
from
May 18, 2026 00:33
09fc85a to
00a65da
Compare
macOS releases are a flat tgz (bare ollama binary + libggml dylibs + mlx_metal dirs at the archive root), unlike Linux (bin/ollama + lib/ollama/ hierarchy). Detect macOS via uname -s, set pkg_src_cmd/pkg_dst_cmd to the root-level binary, and move the full archive root into ~/.local/opt/ollama-vX.Y.Z/ in one pass.
coolaj86
force-pushed
the
ref-installer-script-fixes
branch
from
May 18, 2026 00:34
00a65da to
e6ad763
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Update paths, filenames, and format handling for current upstream releases in 5 installers: `gh`, `goreleaser`, `ollama`, `sd`, `yq`. (pandoc was in the original commit message but not changed.)
Split out from the same commit as #1085 (releases.conf). Completions/man page work follows in a separate PR.
ollama (macOS)
The macOS release is a flat tgz — bare `ollama` binary + `libggml-.dylib`/`.so` GPU backend files + `mlx_metal_/` dirs, all at the archive root. This is different from Linux (`bin/ollama` + `lib/ollama/` hierarchy).
Installer now detects macOS via `uname -s` and sets `pkg_src_cmd` to the root-level binary accordingly, then moves the whole archive root into `~/.local/opt/ollama-vX.Y.Z/`.
Test plan