mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
Update CLI storefronts to use bitwarden licensed artifacts (#9827)
* Update the build job to use `bit` artifacts for stores * Update the CLI's license in `package.json` for the NPM store * Add license configuration to `snapcraft.yaml`
This commit is contained in:
10
.github/workflows/build-cli.yml
vendored
10
.github/workflows/build-cli.yml
vendored
@@ -240,7 +240,7 @@ jobs:
|
||||
|
||||
- name: Package Chocolatey
|
||||
shell: pwsh
|
||||
if: ${{ matrix.license_type.prefix }} == 'oss'
|
||||
if: ${{ matrix.license_type.prefix }} == 'bit'
|
||||
run: |
|
||||
Copy-Item -Path stores/chocolatey -Destination dist/chocolatey -Recurse
|
||||
Copy-Item dist/${{ matrix.license_type.prefix }}/windows/bw.exe -Destination dist/chocolatey/tools
|
||||
@@ -282,7 +282,7 @@ jobs:
|
||||
if-no-files-found: error
|
||||
|
||||
- name: Upload Chocolatey asset
|
||||
if: matrix.license_type.prefix == 'oss'
|
||||
if: matrix.license_type.prefix == 'bit'
|
||||
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
|
||||
with:
|
||||
name: bitwarden-cli.${{ env._PACKAGE_VERSION }}.nupkg
|
||||
@@ -290,7 +290,7 @@ jobs:
|
||||
if-no-files-found: error
|
||||
|
||||
- name: Upload NPM Build Directory asset
|
||||
if: matrix.license_type.prefix == 'oss'
|
||||
if: matrix.license_type.prefix == 'bit'
|
||||
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
|
||||
with:
|
||||
name: bitwarden-cli-${{ env._PACKAGE_VERSION }}-npm-build.zip
|
||||
@@ -320,13 +320,13 @@ jobs:
|
||||
- name: Get bw linux cli
|
||||
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
|
||||
with:
|
||||
name: bw-oss-linux-${{ env._PACKAGE_VERSION }}.zip
|
||||
name: bw-bit-linux-${{ env._PACKAGE_VERSION }}.zip
|
||||
path: apps/cli/dist/snap
|
||||
|
||||
- name: Rename snap artifact
|
||||
run: |
|
||||
cd dist/snap
|
||||
mv bw-oss-linux-${{ env._PACKAGE_VERSION }}.zip bw-linux-${{ env._PACKAGE_VERSION }}.zip
|
||||
mv bw-bit-linux-${{ env._PACKAGE_VERSION }}.zip bw-linux-${{ env._PACKAGE_VERSION }}.zip
|
||||
|
||||
- name: Setup Snap Package
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user