mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-02 08:40:08 +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
|
||||
|
||||
- name: Build application
|
||||
run: |
|
||||
npm run build
|
||||
npm run clean:dist
|
||||
run: npm run build
|
||||
|
||||
- name: Build & Sign
|
||||
shell: pwsh
|
||||
run: |
|
||||
$certName = "`u{22}Bitwarden Inc`u{22}"
|
||||
npx electron-builder --win --x64 --ia32 -p never -c.win.certificateSubjectName="`u{22}Bitwarden Inc`u{22}"
|
||||
Write-Host "certName=$certName"
|
||||
npm run build
|
||||
npm run pack:win
|
||||
env:
|
||||
CSC_LINK: ${{ secrets.EB_SIGNING_CERT_IDENTIFIER_URL }}
|
||||
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: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: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",
|
||||
"dist:dir": "npm run build && npm run pack:dir",
|
||||
"dist:lin": "npm run build && npm run pack:lin",
|
||||
|
Loading…
Reference in New Issue
Block a user