diff --git a/.github/workflows/version-bump.yml b/.github/workflows/version-bump.yml index f7ba508c6c..0bb9378d50 100644 --- a/.github/workflows/version-bump.yml +++ b/.github/workflows/version-bump.yml @@ -13,6 +13,7 @@ on: - CLI - Desktop - Web + - All version_number: description: "New Version" required: true @@ -66,27 +67,27 @@ jobs: ### Browser - name: Bump Browser Version - if: ${{ github.event.inputs.client == 'Browser' }} + if: ${{ github.event.inputs.client == 'Browser' || github.event.inputs.client == 'All' }} env: VERSION: ${{ github.event.inputs.version_number }} run: npm version --workspace=@bitwarden/browser ${VERSION} - name: Bump Browser Version - Manifest - if: ${{ github.event.inputs.client == 'Browser' }} + if: ${{ github.event.inputs.client == 'Browser' || github.event.inputs.client == 'All' }} uses: bitwarden/gh-actions/version-bump@03ad9a873c39cdc95dd8d77dbbda67f84db43945 with: version: ${{ github.event.inputs.version_number }} file_path: "apps/browser/src/manifest.json" - name: Bump Browser Version - Manifest v3 - if: ${{ github.event.inputs.client == 'Browser' }} + if: ${{ github.event.inputs.client == 'Browser' || github.event.inputs.client == 'All' }} uses: bitwarden/gh-actions/version-bump@03ad9a873c39cdc95dd8d77dbbda67f84db43945 with: version: ${{ github.event.inputs.version_number }} file_path: "apps/browser/src/manifest.v3.json" - name: Run Prettier after Browser Version Bump - if: ${{ github.event.inputs.client == 'Browser' }} + if: ${{ github.event.inputs.client == 'Browser' || github.event.inputs.client == 'All' }} run: | npm install -g prettier prettier --write apps/browser/src/manifest.json @@ -94,20 +95,20 @@ jobs: ### CLI - name: Bump CLI Version - if: ${{ github.event.inputs.client == 'CLI' }} + if: ${{ github.event.inputs.client == 'CLI' || github.event.inputs.client == 'All' }} env: VERSION: ${{ github.event.inputs.version_number }} run: npm version --workspace=@bitwarden/cli ${VERSION} ### Desktop - name: Bump Desktop Version - Root - if: ${{ github.event.inputs.client == 'Desktop' }} + if: ${{ github.event.inputs.client == 'Desktop' || github.event.inputs.client == 'All' }} env: VERSION: ${{ github.event.inputs.version_number }} run: npm version --workspace=@bitwarden/desktop ${VERSION} - name: Bump Desktop Version - App - if: ${{ github.event.inputs.client == 'Desktop' }} + if: ${{ github.event.inputs.client == 'Desktop' || github.event.inputs.client == 'All' }} env: VERSION: ${{ github.event.inputs.version_number }} run: npm version ${VERSION} @@ -115,7 +116,7 @@ jobs: ### Web - name: Bump Web Version - if: ${{ github.event.inputs.client == 'Web' }} + if: ${{ github.event.inputs.client == 'Web' || github.event.inputs.client == 'All' }} env: VERSION: ${{ github.event.inputs.version_number }} run: npm version --workspace=@bitwarden/web-vault ${VERSION}