feat(releases): add arm7l architecture as buildable releases
This commit is contained in:
@@ -59,6 +59,7 @@ export async function getUnBuiltReleases(options?: any) {
|
||||
platforms.forEach(platform => {
|
||||
architectures.forEach(arch => {
|
||||
if (arch === 'x86' && platform === 'mac') return
|
||||
if (arch === 'arm71' && platform !== 'linux') return
|
||||
versions.push(getTarget({ platform, arch, version }))
|
||||
})
|
||||
})
|
||||
|
||||
+5
-2
@@ -1,8 +1,8 @@
|
||||
export type NodePlatform = 'windows' | 'mac' | 'alpine' | 'linux'
|
||||
export type NodeArch = 'x86' | 'x64'
|
||||
export type NodeArch = 'x86' | 'x64' | 'arm71'
|
||||
|
||||
const platforms: NodePlatform[] = ['windows', 'mac', 'alpine', 'linux'],
|
||||
architectures: NodeArch[] = ['x86', 'x64']
|
||||
architectures: NodeArch[] = ['x86', 'x64', 'arm71']
|
||||
|
||||
export { platforms, architectures }
|
||||
|
||||
@@ -28,6 +28,9 @@ const prettyPlatform: { [key: string]: NodePlatform } = {
|
||||
//TODO arm
|
||||
const prettyArch: { [key: string]: NodeArch } = {
|
||||
x86: 'x86',
|
||||
arm: 'arm71',
|
||||
arm7: 'arm71',
|
||||
arm71: 'arm71',
|
||||
amd64: 'x64',
|
||||
ia32: 'x86',
|
||||
x32: 'x86',
|
||||
|
||||
Reference in New Issue
Block a user