Skip to content

Fix release asset naming to match README documentation#16

Open
rgarcia wants to merge 1 commit intotobi:masterfrom
rgarcia:fix/release-asset-names
Open

Fix release asset naming to match README documentation#16
rgarcia wants to merge 1 commit intotobi:masterfrom
rgarcia:fix/release-asset-names

Conversation

@rgarcia
Copy link
Copy Markdown

@rgarcia rgarcia commented Dec 31, 2025

Summary

  • Fix CI workflow to produce release assets with correct naming (try-linux-x86_64.tar.gz instead of try-x86_64-linux.tar.gz)
  • Add Linux aarch64 install instructions to README
  • Note that macOS pre-built binaries are not currently available

Problem

The install command documented in the README fails with gzip: stdin: not in gzip format:

curl -sL https://github.com/tobi/try-cli/releases/latest/download/try-linux-x86_64.tar.gz | tar xz

This happens because the README documents assets named try-linux-x86_64.tar.gz (os-arch format), but the CI workflow produces assets named try-x86_64-linux.tar.gz (arch-os format).

Solution

Update the "Prepare release assets" step in the CI workflow to rename artifacts from try-{arch}-{os} to try-{os}-{arch} format during packaging, matching the documented URLs.

Test plan

  • Verify the next release produces assets with correct naming
  • Test install command: curl -sL https://github.com/tobi/try-cli/releases/latest/download/try-linux-x86_64.tar.gz | tar xz

The CI workflow was producing assets named `try-x86_64-linux.tar.gz`
(arch-os format) but the README documents `try-linux-x86_64.tar.gz`
(os-arch format), causing the install commands to fail.

This fixes the "Prepare release assets" step to rename artifacts from
arch-os to os-arch format during packaging.

Also updates README to:
- Add Linux aarch64 install instructions
- Note that macOS pre-built binaries are not currently available
  (darwin cross-compile was removed in v1.5.2)
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

Successfully merging this pull request may close these issues.

1 participant