1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-07 09:31:31 +01:00

commenting out all release specific tasks in the build pipeline

This commit is contained in:
Joseph Flinn 2021-01-19 17:40:46 +00:00
parent 9e59dd6d63
commit 0d42b7e8b4

View File

@ -44,13 +44,13 @@ jobs:
sudo apt-get update sudo apt-get update
sudo apt-get -y install pkg-config libxss-dev libsecret-1-dev rpm sudo apt-get -y install pkg-config libxss-dev libsecret-1-dev rpm
- name: Set up snap #- name: Set up snap
if: github.event_name == 'release' # if: github.event_name == 'release'
run: | # run: |
sudo snap install snapcraft --classic # sudo snap install snapcraft --classic
# echo "$SNAP_TOKEN" | snapcraft login --with - # echo "$SNAP_TOKEN" | snapcraft login --with -
#env: # env:
# SNAP_TOKEN: ${{ secrets.SNAP_TOKEN }} # SNAP_TOKEN: ${{ secrets.SNAP_TOKEN }}
- name: Print environment - name: Print environment
run: | run: |
@ -156,7 +156,7 @@ jobs:
dotnet tool install --global --ignore-failed-sources --add-source ./nupkg --version $latest_version azuresigntool dotnet tool install --global --ignore-failed-sources --add-source ./nupkg --version $latest_version azuresigntool
#- name: Set up environment #- name: Set up environment
# if: false && github.event_name == 'release' # if: false github.event_name == 'release'
# shell: pwsh # shell: pwsh
# run: | # run: |
# choco install checksum --no-progress # choco install checksum --no-progress
@ -196,17 +196,17 @@ jobs:
SIGNING_CLIENT_SECRET: ${{ secrets.SIGNING_CLIENT_SECRET }} SIGNING_CLIENT_SECRET: ${{ secrets.SIGNING_CLIENT_SECRET }}
SIGNING_CERT_NAME: ${{ secrets.SIGNING_CERT_NAME }} SIGNING_CERT_NAME: ${{ secrets.SIGNING_CERT_NAME }}
- name: Build, Sign & Release #- name: Build, Sign & Release
if: github.event_name == 'release' # if: github.event_name == 'release'
run: npm run publish:win # run: npm run publish:win
env: # env:
ELECTRON_BUILDER_SIGN: 1 # ELECTRON_BUILDER_SIGN: 1
SIGNING_VAULT_URL: ${{ secrets.SIGNING_VAULT_URL }} # SIGNING_VAULT_URL: ${{ secrets.SIGNING_VAULT_URL }}
SIGNING_CLIENT_ID: ${{ secrets.SIGNING_CLIENT_ID }} # SIGNING_CLIENT_ID: ${{ secrets.SIGNING_CLIENT_ID }}
SIGNING_TENANT_ID: ${{ secrets.SIGNING_TENANT_ID }} # SIGNING_TENANT_ID: ${{ secrets.SIGNING_TENANT_ID }}
SIGNING_CLIENT_SECRET: ${{ secrets.SIGNING_CLIENT_SECRET }} # SIGNING_CLIENT_SECRET: ${{ secrets.SIGNING_CLIENT_SECRET }}
SIGNING_CERT_NAME: ${{ secrets.SIGNING_CERT_NAME }} # SIGNING_CERT_NAME: ${{ secrets.SIGNING_CERT_NAME }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} # GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
- name: Rename appx files for store - name: Rename appx files for store
shell: pwsh shell: pwsh
@ -256,18 +256,18 @@ jobs:
# name: bitwarden.${{ env.PACKAGE_VERSION }}.nupkg # name: bitwarden.${{ env.PACKAGE_VERSION }}.nupkg
# path: ./dist/chocolatey/bitwarden.${{ env.PACKAGE_VERSION }}.nupkg # path: ./dist/chocolatey/bitwarden.${{ env.PACKAGE_VERSION }}.nupkg
- name: Upload release assets #- name: Upload release assets
if: github.event_name == 'release' # if: github.event_name == 'release'
run: | # run: |
hub release edit ` # hub release edit `
-a ./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-ia32-store.appx ` # -a ./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-ia32-store.appx `
-a ./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-x64-store.appx ` # -a ./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-x64-store.appx `
-m "$($env:RELEASE_TAG_NAME.TrimStart('v'))" ` # -m "$($env:RELEASE_TAG_NAME.TrimStart('v'))" `
$env:RELEASE_TAG_NAME # $env:RELEASE_TAG_NAME
shell: pwsh # shell: pwsh
env: # env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} # GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
RELEASE_TAG_NAME: ${{ github.event.release.tag_name }} # RELEASE_TAG_NAME: ${{ github.event.release.tag_name }}
macos: macos:
runs-on: macos-latest runs-on: macos-latest
@ -395,21 +395,21 @@ jobs:
name: Bitwarden-${{ env.PACKAGE_VERSION }}.pkg name: Bitwarden-${{ env.PACKAGE_VERSION }}.pkg
path: ./dist/mas/Bitwarden-${{ env.PACKAGE_VERSION }}.pkg path: ./dist/mas/Bitwarden-${{ env.PACKAGE_VERSION }}.pkg
- name: Deploy to App Store #- name: Deploy to App Store
if: github.event_name == 'release' # if: github.event_name == 'release'
run: npm run upload:mas # run: npm run upload:mas
env: # env:
APPLE_ID_USERNAME: ${{ secrets.APPLE_ID_USERNAME }} # APPLE_ID_USERNAME: ${{ secrets.APPLE_ID_USERNAME }}
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }} # APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
- name: Upload release assets #- name: Upload release assets
if: github.event_name == 'release' # if: github.event_name == 'release'
run: | # run: |
hub release edit ` # hub release edit `
-a ./dist/mas/Bitwarden-${{ env.PACKAGE_VERSION }}.pkg ` # -a ./dist/mas/Bitwarden-${{ env.PACKAGE_VERSION }}.pkg `
-m "$($env:RELEASE_TAG_NAME.TrimStart('v'))" ` # -m "$($env:RELEASE_TAG_NAME.TrimStart('v'))" `
$env:RELEASE_TAG_NAME # $env:RELEASE_TAG_NAME
shell: pwsh # shell: pwsh
env: # env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} # GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
RELEASE_TAG_NAME: ${{ github.event.release.tag_name }} # RELEASE_TAG_NAME: ${{ github.event.release.tag_name }}