mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-06 09:20:43 +01:00
package: Package ARM64 binaries for Linux (#1095)
Signed-off-by: Alistair Francis <alistair@alistair23.me> Co-authored-by: Joseph Flinn <58369717+joseph-flinn@users.noreply.github.com>
This commit is contained in:
parent
3010b3e1ac
commit
dd602024d8
28
.github/workflows/build.yml
vendored
28
.github/workflows/build.yml
vendored
@ -143,6 +143,13 @@ jobs:
|
|||||||
path: ./dist/Bitwarden-${{ env._PACKAGE_VERSION }}-amd64.deb
|
path: ./dist/Bitwarden-${{ env._PACKAGE_VERSION }}-amd64.deb
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
|
- name: Upload ARM64 .deb artifact
|
||||||
|
uses: actions/upload-artifact@ee69f02b3dfdecd58bb31b4d133da38ba6fe3700 # v2.2.3
|
||||||
|
with:
|
||||||
|
name: Bitwarden-${{ env._PACKAGE_VERSION }}-arm64.deb
|
||||||
|
path: ./dist/Bitwarden-${{ env._PACKAGE_VERSION }}-arm64.deb
|
||||||
|
if-no-files-found: error
|
||||||
|
|
||||||
- name: Upload .rpm artifact
|
- name: Upload .rpm artifact
|
||||||
uses: actions/upload-artifact@ee69f02b3dfdecd58bb31b4d133da38ba6fe3700 # v2.2.3
|
uses: actions/upload-artifact@ee69f02b3dfdecd58bb31b4d133da38ba6fe3700 # v2.2.3
|
||||||
with:
|
with:
|
||||||
@ -150,6 +157,13 @@ jobs:
|
|||||||
path: ./dist/Bitwarden-${{ env._PACKAGE_VERSION }}-x86_64.rpm
|
path: ./dist/Bitwarden-${{ env._PACKAGE_VERSION }}-x86_64.rpm
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
|
- name: Upload ARM64 .rpm artifact
|
||||||
|
uses: actions/upload-artifact@ee69f02b3dfdecd58bb31b4d133da38ba6fe3700 # v2.2.3
|
||||||
|
with:
|
||||||
|
name: Bitwarden-${{ env._PACKAGE_VERSION }}-aarch64.rpm
|
||||||
|
path: ./dist/Bitwarden-${{ env._PACKAGE_VERSION }}-aarch64.rpm
|
||||||
|
if-no-files-found: error
|
||||||
|
|
||||||
- name: Upload .freebsd artifact
|
- name: Upload .freebsd artifact
|
||||||
uses: actions/upload-artifact@ee69f02b3dfdecd58bb31b4d133da38ba6fe3700 # v2.2.3
|
uses: actions/upload-artifact@ee69f02b3dfdecd58bb31b4d133da38ba6fe3700 # v2.2.3
|
||||||
with:
|
with:
|
||||||
@ -157,6 +171,13 @@ jobs:
|
|||||||
path: ./dist/Bitwarden-${{ env._PACKAGE_VERSION }}-x64.freebsd
|
path: ./dist/Bitwarden-${{ env._PACKAGE_VERSION }}-x64.freebsd
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
|
- name: Upload ARM64 .freebsd artifact
|
||||||
|
uses: actions/upload-artifact@ee69f02b3dfdecd58bb31b4d133da38ba6fe3700 # v2.2.3
|
||||||
|
with:
|
||||||
|
name: Bitwarden-${{ env._PACKAGE_VERSION }}-arm64.freebsd
|
||||||
|
path: ./dist/Bitwarden-${{ env._PACKAGE_VERSION }}-arm64.freebsd
|
||||||
|
if-no-files-found: error
|
||||||
|
|
||||||
- name: Upload .snap artifact
|
- name: Upload .snap artifact
|
||||||
uses: actions/upload-artifact@ee69f02b3dfdecd58bb31b4d133da38ba6fe3700 # v2.2.3
|
uses: actions/upload-artifact@ee69f02b3dfdecd58bb31b4d133da38ba6fe3700 # v2.2.3
|
||||||
with:
|
with:
|
||||||
@ -171,6 +192,13 @@ jobs:
|
|||||||
path: ./dist/Bitwarden-${{ env._PACKAGE_VERSION }}-x86_64.AppImage
|
path: ./dist/Bitwarden-${{ env._PACKAGE_VERSION }}-x86_64.AppImage
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
|
- name: Upload ARM64 .AppImage artifact
|
||||||
|
uses: actions/upload-artifact@ee69f02b3dfdecd58bb31b4d133da38ba6fe3700 # v2.2.3
|
||||||
|
with:
|
||||||
|
name: Bitwarden-${{ env._PACKAGE_VERSION }}-arm64.AppImage
|
||||||
|
path: ./dist/Bitwarden-${{ env._PACKAGE_VERSION }}-arm64.AppImage
|
||||||
|
if-no-files-found: error
|
||||||
|
|
||||||
- name: Upload latest auto-update artifact
|
- name: Upload latest auto-update artifact
|
||||||
uses: actions/upload-artifact@ee69f02b3dfdecd58bb31b4d133da38ba6fe3700 # v2.2.3
|
uses: actions/upload-artifact@ee69f02b3dfdecd58bb31b4d133da38ba6fe3700 # v2.2.3
|
||||||
with:
|
with:
|
||||||
|
14
package.json
14
package.json
@ -40,7 +40,7 @@
|
|||||||
"clean:dist": "rimraf ./dist/*",
|
"clean:dist": "rimraf ./dist/*",
|
||||||
"clean:l10n": "git push origin --delete l10n_master",
|
"clean:l10n": "git push origin --delete l10n_master",
|
||||||
"pack:dir": "npm run clean:dist && electron-builder --dir -p never",
|
"pack:dir": "npm run clean:dist && electron-builder --dir -p never",
|
||||||
"pack:lin": "npm run clean:dist && electron-builder --linux --x64 -p never",
|
"pack:lin": "npm run clean:dist && electron-builder --linux -p never",
|
||||||
"pack:mac": "npm run clean:dist && electron-builder --mac --universal -p never",
|
"pack:mac": "npm run clean:dist && electron-builder --mac --universal -p never",
|
||||||
"pack:mac:arm64": "npm run clean:dist && electron-builder --mac --arm64 -p never",
|
"pack:mac:arm64": "npm run clean:dist && electron-builder --mac --arm64 -p never",
|
||||||
"pack:mac:mas": "npm run clean:dist && electron-builder --mac mas --universal -p never",
|
"pack:mac:mas": "npm run clean:dist && electron-builder --mac mas --universal -p never",
|
||||||
@ -54,7 +54,7 @@
|
|||||||
"dist:mac:masdev": "npm run build && npm run pack:mac:masdev",
|
"dist:mac:masdev": "npm run build && npm run pack:mac:masdev",
|
||||||
"dist:win": "npm run build && npm run pack:win",
|
"dist:win": "npm run build && npm run pack:win",
|
||||||
"dist:win:ci": "npm run build && npm run pack:win:ci",
|
"dist:win:ci": "npm run build && npm run pack:win:ci",
|
||||||
"publish:lin": "npm run build && npm run clean:dist && electron-builder --linux --x64 -p always",
|
"publish:lin": "npm run build && npm run clean:dist && electron-builder --linux -p always",
|
||||||
"publish:mac": "npm run build && npm run clean:dist && electron-builder --mac -p always",
|
"publish:mac": "npm run build && npm run clean:dist && electron-builder --mac -p always",
|
||||||
"publish:mac:mas": "npm run dist:mac:mas && npm run upload:mas",
|
"publish:mac:mas": "npm run dist:mac:mas && npm run upload:mas",
|
||||||
"publish:win": "npm run build && npm run clean:dist && electron-builder --win --x64 --arm64 --ia32 -p always -c.win.certificateSubjectName=\"8bit Solutions LLC\"",
|
"publish:win": "npm run build && npm run clean:dist && electron-builder --win --x64 --arm64 --ia32 -p always -c.win.certificateSubjectName=\"8bit Solutions LLC\"",
|
||||||
@ -142,11 +142,11 @@
|
|||||||
"category": "Utility",
|
"category": "Utility",
|
||||||
"synopsis": "A secure and free password manager for all of your devices.",
|
"synopsis": "A secure and free password manager for all of your devices.",
|
||||||
"target": [
|
"target": [
|
||||||
"deb",
|
{ "target": "deb", "arch": [ "x64", "arm64" ]},
|
||||||
"freebsd",
|
{ "target": "freebsd", "arch": [ "x64", "arm64" ]},
|
||||||
"rpm",
|
{ "target": "rpm", "arch": [ "x64", "arm64" ]},
|
||||||
"AppImage",
|
{ "target": "AppImage", "arch": [ "x64", "arm64" ]},
|
||||||
"snap"
|
{ "target": "snap", "arch": [ "x64" ]}
|
||||||
],
|
],
|
||||||
"desktop": {
|
"desktop": {
|
||||||
"Name": "Bitwarden",
|
"Name": "Bitwarden",
|
||||||
|
Loading…
Reference in New Issue
Block a user