mirror of
https://github.com/bitwarden/desktop.git
synced 2025-01-06 18:47:51 +01:00
switching over to an npm script
This commit is contained in:
parent
a1a5405722
commit
078862e41b
10
.github/workflows/build-and-sign.yml
vendored
10
.github/workflows/build-and-sign.yml
vendored
@ -64,16 +64,12 @@ jobs:
|
|||||||
run: npm run lint
|
run: npm run lint
|
||||||
|
|
||||||
- name: Build application
|
- name: Build application
|
||||||
run: |
|
run: npm run build
|
||||||
npm run build
|
|
||||||
npm run clean:dist
|
|
||||||
|
|
||||||
- name: Build & Sign
|
- name: Build & Sign
|
||||||
shell: pwsh
|
|
||||||
run: |
|
run: |
|
||||||
$certName = "`u{22}Bitwarden Inc`u{22}"
|
npm run build
|
||||||
npx electron-builder --win --x64 --ia32 -p never -c.win.certificateSubjectName="`u{22}Bitwarden Inc`u{22}"
|
npm run pack:win
|
||||||
Write-Host "certName=$certName"
|
|
||||||
env:
|
env:
|
||||||
CSC_LINK: ${{ secrets.EB_SIGNING_CERT_IDENTIFIER_URL }}
|
CSC_LINK: ${{ secrets.EB_SIGNING_CERT_IDENTIFIER_URL }}
|
||||||
CSC_KEY_PASSWORD: ${{ secrets.EB_SIGNING_CERT_KEY }}
|
CSC_KEY_PASSWORD: ${{ secrets.EB_SIGNING_CERT_KEY }}
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
"pack:mac": "npm run clean:dist && electron-builder --mac -p never",
|
"pack:mac": "npm run clean:dist && electron-builder --mac -p never",
|
||||||
"pack:mac:mas": "npm run clean:dist && electron-builder --mac mas -p never",
|
"pack:mac:mas": "npm run clean:dist && electron-builder --mac mas -p never",
|
||||||
"pack:mac:masdev": "npm run clean:dist && electron-builder --mac mas-dev -p never",
|
"pack:mac:masdev": "npm run clean:dist && electron-builder --mac mas-dev -p never",
|
||||||
"pack:win": "npm run clean:dist && electron-builder --win --x64 --ia32 -p never -c.win.certificateSubjectName=\"8bit Solutions LLC\"",
|
"pack:win": "npm run clean:dist && electron-builder --win --x64 --ia32 -p never -c.win.certificateSubjectName=\"Bitwarden Inc\"",
|
||||||
"pack:win:ci": "npm run clean:dist && electron-builder --win --x64 --ia32 -p never",
|
"pack:win:ci": "npm run clean:dist && electron-builder --win --x64 --ia32 -p never",
|
||||||
"dist:dir": "npm run build && npm run pack:dir",
|
"dist:dir": "npm run build && npm run pack:dir",
|
||||||
"dist:lin": "npm run build && npm run pack:lin",
|
"dist:lin": "npm run build && npm run pack:lin",
|
||||||
|
Loading…
Reference in New Issue
Block a user