Skip to content

Commit 798938f

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 798938f

File tree

1 file changed

+32
-4
lines changed

1 file changed

+32
-4
lines changed

package.json

Lines changed: 32 additions & 4 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
},

0 commit comments

Comments
 (0)