Skip to content

Commit 0a2e44c

Browse files
committed
ci: specify architectures for Linux targets
Specify architectures for each Linux package target (AppImage, Snap, deb, rpm) so releases are built for x64, armv7l, and arm64. Previously the targets were listed as simple strings which did not declare per-target archs; making them objects with an "arch" array ensures multi-arch artifacts are produced during CI and packaging.
1 parent 3455ff7 commit 0a2e44c

File tree

1 file changed

+33
-5
lines changed

1 file changed

+33
-5
lines changed

package.json

Lines changed: 33 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,38 @@
4141
"linux": {
4242
"category": "Video",
4343
"target": [
44-
"AppImage",
45-
"Snap",
46-
"deb",
47-
"rpm"
44+
{
45+
"target": "AppImage",
46+
"arch": [
47+
"x64",
48+
"armv7l",
49+
"arm64"
50+
]
51+
},
52+
{
53+
"target": "Snap",
54+
"arch": [
55+
"x64",
56+
"armv7l",
57+
"arm64"
58+
]
59+
},
60+
{
61+
"target": "deb",
62+
"arch": [
63+
"x64",
64+
"armv7l",
65+
"arm64"
66+
]
67+
},
68+
{
69+
"target": "rpm",
70+
"arch": [
71+
"x64",
72+
"armv7l",
73+
"arm64"
74+
]
75+
}
4876
],
4977
"artifactName": "${name}-${version}-${os}-${arch}.${ext}"
5078
},
@@ -181,7 +209,7 @@
181209
"conventional-changelog-cli": "5.0.0",
182210
"drizzle-kit": "0.31.5",
183211
"electron": "^39.0.0",
184-
"electron-builder": "^26.0.12",
212+
"electron-builder": "^26.0.20",
185213
"eslint": "^9.8.0",
186214
"eslint-config-prettier": "^10.1.8",
187215
"eslint-plugin-import": "2.32.0",

0 commit comments

Comments
 (0)