mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-03 18:28:13 +01:00
finishing the mac portion of splitting out the deploylments
This commit is contained in:
parent
e545ecd165
commit
2dbeba0c97
37
.github/workflows/deploy.yml
vendored
37
.github/workflows/deploy.yml
vendored
@ -66,8 +66,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Install Snap
|
- name: Install Snap
|
||||||
uses: samuelmeuli/action-snapcraft@v1
|
uses: samuelmeuli/action-snapcraft@v1
|
||||||
# with:
|
with:
|
||||||
# snapcraft_token: ${{ secrets.SNAP_TOKEN }}
|
snapcraft_token: ${{ secrets.SNAP_TOKEN }}
|
||||||
|
|
||||||
- name: setup
|
- name: setup
|
||||||
run: mkdir dist
|
run: mkdir dist
|
||||||
@ -84,7 +84,6 @@ jobs:
|
|||||||
run: ls -alht dist
|
run: ls -alht dist
|
||||||
|
|
||||||
- name: Deploy to Snap Store
|
- name: Deploy to Snap Store
|
||||||
if: false
|
|
||||||
run: |
|
run: |
|
||||||
snapcraft upload dist/bitwarden_${{ env.PACKAGE_VERSION }}_amd64.snap --release stable
|
snapcraft upload dist/bitwarden_${{ env.PACKAGE_VERSION }}_amd64.snap --release stable
|
||||||
snapcraft logout
|
snapcraft logout
|
||||||
@ -109,10 +108,10 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
#- name: Setup Chocolatey
|
- name: Setup Chocolatey
|
||||||
# run: choco apikey --key $env:CHOCO_API_KEY --source https://push.chocolatey.org/
|
run: choco apikey --key $env:CHOCO_API_KEY --source https://push.chocolatey.org/
|
||||||
# env:
|
env:
|
||||||
# CHOCO_API_KEY: ${{ secrets.CHOCO_API_KEY }}
|
CHOCO_API_KEY: ${{ secrets.CHOCO_API_KEY }}
|
||||||
|
|
||||||
- name: make dist dir
|
- name: make dist dir
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
@ -127,20 +126,32 @@ jobs:
|
|||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Push to Chocolatey
|
- name: Push to Chocolatey
|
||||||
if: false
|
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: |
|
run: |
|
||||||
cd dist
|
cd dist
|
||||||
choco push
|
choco push
|
||||||
|
|
||||||
|
|
||||||
# Placeholder until the build thing works with the directory-connector
|
|
||||||
macos:
|
macos:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
if: false
|
|
||||||
needs: setup
|
needs: setup
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Node
|
- name: Checkout repo
|
||||||
uses: actions/setup-node@v1
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: make target directory
|
||||||
|
run: mkdir -p dist/mas
|
||||||
|
|
||||||
|
- name: Get mac release asset
|
||||||
|
uses: Xotl/cool-github-releases@v1
|
||||||
with:
|
with:
|
||||||
node-version: '10.x'
|
mode: download
|
||||||
|
tag_name: ${{ env.TAG_VERSION }}
|
||||||
|
assets: Bitwarden-${{ env.PACKAGE_VERSION }}.pkg|./dist/mas/Bitwarden-${{ env.PACKAGE_VERSION }}.pkg
|
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: Deploy to App Store
|
||||||
|
run: npm run upload:mas
|
||||||
|
env:
|
||||||
|
APPLE_ID_USERNAME: ${{ secrets.APPLE_ID_USERNAME }}
|
||||||
|
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
|
||||||
|
13
.github/workflows/release.yml
vendored
13
.github/workflows/release.yml
vendored
@ -181,7 +181,6 @@ jobs:
|
|||||||
choco pack ./dist/chocolatey/bitwarden.nuspec --version "$env:PACKAGE_VERSION" --out ./dist/chocolatey
|
choco pack ./dist/chocolatey/bitwarden.nuspec --version "$env:PACKAGE_VERSION" --out ./dist/chocolatey
|
||||||
cd ./dist/chocolatey
|
cd ./dist/chocolatey
|
||||||
ls -alht dist/chocolatey
|
ls -alht dist/chocolatey
|
||||||
#choco push
|
|
||||||
|
|
||||||
- name: Upload Chocolatey nupkg release asset
|
- name: Upload Chocolatey nupkg release asset
|
||||||
uses: actions/upload-release-asset@v1
|
uses: actions/upload-release-asset@v1
|
||||||
@ -352,8 +351,12 @@ jobs:
|
|||||||
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: Deploy to App Store
|
- name: Upload Apple Store release asset
|
||||||
run: npm run upload:mas
|
uses: actions/upload-release-asset@v1
|
||||||
env:
|
env:
|
||||||
APPLE_ID_USERNAME: ${{ secrets.APPLE_ID_USERNAME }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
|
with:
|
||||||
|
upload_url: ${{ needs.setup.outputs.release_upload_url }}
|
||||||
|
asset_name: Bitwarden-${{ env.PACKAGE_VERSION }}.pkg
|
||||||
|
asset_path: ./dist/mas/Bitwarden-${{ env.PACKAGE_VERSION }}.pkg
|
||||||
|
asset_content_type: application
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
"homepage": "https://bitwarden.com",
|
"homepage": "https://bitwarden.com",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/joseph-flinn/desktop"
|
"url": "https://github.com/bitwarden/desktop"
|
||||||
},
|
},
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -2,14 +2,14 @@
|
|||||||
"name": "bitwarden",
|
"name": "bitwarden",
|
||||||
"productName": "Bitwarden",
|
"productName": "Bitwarden",
|
||||||
"description": "A secure and free password manager for all of your devices.",
|
"description": "A secure and free password manager for all of your devices.",
|
||||||
"version": "1.24.8",
|
"version": "1.24.6",
|
||||||
"author": "Bitwarden Inc. <hello@bitwarden.com> (https://bitwarden.com)",
|
"author": "Bitwarden Inc. <hello@bitwarden.com> (https://bitwarden.com)",
|
||||||
"homepage": "https://bitwarden.com",
|
"homepage": "https://bitwarden.com",
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/joseph-flinn/desktop"
|
"url": "https://github.com/bitwarden/desktop"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@nodert-win10-rs4/windows.security.credentials.ui": "^0.4.4",
|
"@nodert-win10-rs4/windows.security.credentials.ui": "^0.4.4",
|
||||||
|
Loading…
Reference in New Issue
Block a user