feat: support Linux arm64 architecture#539
Draft
zimeg wants to merge 5 commits into
Draft
Conversation
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #539 +/- ##
==========================================
- Coverage 71.30% 71.29% -0.01%
==========================================
Files 222 222
Lines 18706 18712 +6
==========================================
+ Hits 13338 13341 +3
- Misses 4188 4189 +1
- Partials 1180 1182 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Changelog
Add Linux arm64 (aarch64) architecture support for installation and auto-update. Closes #276.
Summary
This pull request adds Linux arm64 support to the Slack CLI build, install, and auto-update pipelines.
amd64andarm64binaries for Linuxinstall.sh,install-dev.sh) detect architecture viauname -mfor versions >= 4.1.0getUpdateFileName) returns architecture-specific Linux filenameslinux_amd64,linux_arm64, andlinux_64-bit(amd64 fallback) tarballslinux_64-bit(amd64) binaryPreview
N/A — no UI changes.
Testing
bash scripts/install.shand verify it downloads thelinux_amd64tarballbash scripts/install.shand verify it downloads thelinux_arm64tarballbash scripts/install.sh -v 4.0.1) and verify it falls back tolinux_64-bitNotes
4.1.0— older versions only hadlinux_64-bitarchives, so the install scripts fall back for thoselinux_64-bitarchive is always a copy of theamd64build, preserving backwards compatibility for users on older install scripts or unknown architecturesRequirements