From 0372b3883a324addc02a0df1a919a17d6b72cfad Mon Sep 17 00:00:00 2001 From: Rafael Garcia Date: Wed, 31 Dec 2025 14:41:23 -0500 Subject: [PATCH] Fix release asset naming to match README documentation 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) --- .github/workflows/ci.yml | 5 ++++- README.md | 10 ++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5be7811..d0c43b9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -77,7 +77,10 @@ jobs: for dir in try-*; do if [ -d "$dir" ]; then chmod +x "$dir/try" - tar -czf "${dir}.tar.gz" -C "$dir" "try" + # Rename from arch-os (x86_64-linux) to os-arch (linux-x86_64) format + # to match README documentation + new_name=$(echo "$dir" | sed 's/try-\(.*\)-\(.*\)/try-\2-\1/') + tar -czf "${new_name}.tar.gz" -C "$dir" "try" fi done ls -la *.tar.gz diff --git a/README.md b/README.md index 62691db..892194d 100644 --- a/README.md +++ b/README.md @@ -30,15 +30,13 @@ Instantly navigate through all your experiment directories with: curl -sL https://github.com/tobi/try-cli/releases/latest/download/try-linux-x86_64.tar.gz | tar xz sudo mv try /usr/local/bin/ -# macOS (Intel) -curl -sL https://github.com/tobi/try-cli/releases/latest/download/try-darwin-x86_64.tar.gz | tar xz -sudo mv try /usr/local/bin/ - -# macOS (Apple Silicon) -curl -sL https://github.com/tobi/try-cli/releases/latest/download/try-darwin-aarch64.tar.gz | tar xz +# Linux aarch64 +curl -sL https://github.com/tobi/try-cli/releases/latest/download/try-linux-aarch64.tar.gz | tar xz sudo mv try /usr/local/bin/ ``` +> **macOS users**: Pre-built binaries for macOS are not currently available. Please use [Nix](#nix) or [build from source](#build-from-source) instead. + ### Shell integration ```bash