Skip to content

Add Linux aarch64 support to install.sh#26

Open
cwoolum wants to merge 1 commit intolinear:mainfrom
cwoolum:add-linux-arm64-support
Open

Add Linux aarch64 support to install.sh#26
cwoolum wants to merge 1 commit intolinear:mainfrom
cwoolum:add-linux-arm64-support

Conversation

@cwoolum
Copy link
Copy Markdown

@cwoolum cwoolum commented May 6, 2026

Problem

The Linear Release CLI ships a linear-release-linux-arm64 asset as of v0.9.0 (PR linear/linear-release#41), but this action's install.sh still hard-rejects Linux aarch64:

::error::Unsupported Linux arch: aarch64. Only x86_64 is supported.

This breaks the action on every ARM64 Linux runner — RunsOn pool=*-arm, GitHub-hosted ubuntu-*-arm, self-hosted Graviton, etc.

Fix

Map aarch64 / arm64 uname -m output to the new linear-release-linux-arm64 asset, mirroring the existing macOS arch-detection branch.

Test plan

  • install.sh syntax check (bash -n install.sh)
  • Verified the asset URL exists: https://github.com/linear/linear-release/releases/download/v0.9.0/linear-release-linux-arm64
  • CI on a Linux arm64 runner downloads the correct asset
Downloading https://github.com/linear/linear-release/releases/download/v0.9.0/linear-release-linux-arm64
Run set -euo pipefail
Running: linear-release sync --release-version=a02dfb1dbb7deccd156185fd70bbc9474b43af05
=> Using custom release version: a02dfb1dbb7deccd156185fd70bbc9474b43af05
=> Found 1 commit between a02dfb1dbb7deccd156185fd70bbc9474b43af05 and a02dfb1dbb7deccd156185fd70bbc9474b43af05
=> No issue keys found
=> Issues [] and pull requests [161] have been added to release New release
=> Finished

The Linear Release CLI v0.9.0 ships a `linear-release-linux-arm64`
asset, but install.sh still rejects Linux aarch64 runners with
"Unsupported Linux arch". Map aarch64/arm64 to the new asset so the
action works on ARM64 runners (RunsOn `pool=*-arm`, GitHub-hosted
`ubuntu-*-arm`, self-hosted Graviton, etc.).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@cwoolum
Copy link
Copy Markdown
Author

cwoolum commented May 7, 2026

@RomainCscn , is this something you would consider merging?

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