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