Repository navigation
[BRE-2375] Cherry-Pick CLI Artifact Name Changes - #24680
Merged
Merged
Conversation
Commercial CLI zips were unprefixed (bw-linux-*, bw-macos-*, bw-windows-*)
while OSS zips use bw-oss-*. Set the commercial artifact_prefix to -bit so
both license types follow bw-{license}-{os}[-arm64]-{version}.zip, and point
the snap job and snapcraft.yaml at bw-bit-linux-*.
(cherry picked from commit 5e1abff)
…rchitecture (#24658) `bw update` picked the first release zip whose URL contained `bw-<os>`. It ignored which build was running and the CPU architecture, so OSS users were sent the commercial build and arm64 users were sent the x64 build. - Add `licenseType` to the CLI ServiceContainer ("oss"), overridden to "bit" in the Bitwarden-licensed container, and pass it to UpdateCommand. - Build the exact asset name, bw-{license}-{os}[-arm64]-{version}.zip, from the license, process.platform, process.arch and the release tag, and match it against asset names. - Fall back to the release page when no matching asset exists or the OS/architecture has no published build. - Type the GitHub release response and remove @ts-strict-ignore. Depends on the bw-bit-* asset rename (BRE-2408). (cherry picked from commit 45e4aaa)
dani-garcia
approved these changes
Nov 11, 2026
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.
🎟️ Tracking
📔 Objective
Cherry-picking the CLI artifact naming changes so the next release is correctly created.