Skip to content

[BRE-2375] Cherry-Pick CLI Artifact Name Changes - #24680

Merged
bwvgrassia merged 2 commits into
rcfrom
cherry-pick-BRE-2375
Nov 11, 2026
Merged

bwvgrassia merged 2 commits into
rcfrom
cherry-pick-BRE-2375

Conversation

@bwvgrassia

@bwvgrassia bwvgrassia commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

🎟️ Tracking

📔 Objective

Cherry-picking the CLI artifact naming changes so the next release is correctly created.

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)
@bwvgrassia
bwvgrassia requested a review from a team as a code owner November 11, 2026 16:29
@bwvgrassia bwvgrassia added the t:ci Change Type - Updates to automated workflows label Nov 11, 2026
@bwvgrassia
bwvgrassia enabled auto-merge (squash) November 11, 2026 16:37
@bwvgrassia
bwvgrassia merged commit 11e1775 into rc Nov 11, 2026
55 of 65 checks passed
@bwvgrassia
bwvgrassia deleted the cherry-pick-BRE-2375 branch November 11, 2026 16:40
@djsmith85 djsmith85 added the cli CLI Application label Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli CLI Application t:ci Change Type - Updates to automated workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants