[BRE-2408] ci: Prefix commercial CLI artifacts with bw-bit- (#24652)

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-*.
This commit is contained in:
Vince Grassia
2026-11-11 09:52:03 -05:00
committed by GitHub
parent 64694bf040
commit 5e1abff860
2 changed files with 4 additions and 4 deletions

View File

@@ -99,7 +99,7 @@ jobs:
license_type:
[
{ type: "oss", build_prefix: "oss", artifact_prefix: "-oss", readable: "open source license" },
{ type: "commercial", build_prefix: "bit", artifact_prefix: "", readable: "commercial license" }
{ type: "commercial", build_prefix: "bit", artifact_prefix: "-bit", readable: "commercial license" }
]
runs-on: ${{ matrix.os.distro }}
needs: setup
@@ -325,7 +325,7 @@ jobs:
license_type:
[
{ type: "oss", build_prefix: "oss", artifact_prefix: "-oss", readable: "open source license" },
{ type: "commercial", build_prefix: "bit", artifact_prefix: "", readable: "commercial license" }
{ type: "commercial", build_prefix: "bit", artifact_prefix: "-bit", readable: "commercial license" }
]
runs-on: windows-2022
permissions:
@@ -611,7 +611,7 @@ jobs:
- name: Get bw linux cli
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: bw-linux-${{ env._PACKAGE_VERSION }}.zip
name: bw-bit-linux-${{ env._PACKAGE_VERSION }}.zip
path: apps/cli/dist/snap
- name: Setup Snap Package