Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PM-10105] Release arm64 binaries for macOS #10273

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

jomifepe
Copy link
Contributor

@jomifepe jomifepe commented Jul 25, 2024

🎟️ Tracking

https://github.com/orgs/bitwarden/discussions/10219

Other related discussions:

Other pending contributions:

📔 Objective

It has been years since arm64 became the standard for macs, and this PR aims to tweak the build ci workflow to release those. It releases two new binaries: bw-macos-arm64-*.zip and bw-oss-macos-arm64-*.zip .

It uses macos-14 github runner to build the binaries.

Here is a successful run of this new build script for reference: https://github.com/jomifepe/clients/actions/runs/10050097941.

Who benefits from this?

Everyone who wants to install the CLI on modern macOS (e.g. macbooks since 2020). The official site points you to npm for arm64, requiring you to install node, but makes x64 binaries available to download.

📸 Screenshots

Screenshot 2024-07-25 at 23 26 08
Screenshot 2024-07-25 at 23 32 36
Screenshot 2024-07-25 at 23 33 15

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • ❓ (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • ❌ (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

@jomifepe jomifepe requested a review from a team as a code owner July 25, 2024 22:36
@bitwarden-bot
Copy link

Thank you for your contribution! We've added this to our internal Community PR board for review.
ID: PM-10105

@bitwarden-bot bitwarden-bot changed the title Release arm64 binaries for macOS [PM-10105] Release arm64 binaries for macOS Jul 25, 2024
@jomifepe jomifepe force-pushed the feat/release-macos-arm64-binary branch from 04081d8 to 00fd417 Compare August 4, 2024 10:11
@jomifepe jomifepe force-pushed the feat/release-macos-arm64-binary branch from 00fd417 to e9e691b Compare August 13, 2024 22:17
@jomifepe jomifepe force-pushed the feat/release-macos-arm64-binary branch from e9e691b to 45227aa Compare August 19, 2024 09:05
@jomifepe
Copy link
Contributor Author

I hope this doesn't get ignored like the previous attempts.

I know the CLI is low priority, but is there any other reason why this would not be desirable?

@djsmith85 djsmith85 requested a review from a team September 10, 2024 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants