chore: update arm version generator

This commit is contained in:
calebboyd
2018-09-26 09:57:08 -05:00
parent 4a7bfd99b6
commit 664dc6a11b
2 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ export async function getUnBuiltReleases(options?: any) {
platforms.forEach(platform => {
architectures.forEach(arch => {
if (arch === 'x86' && platform === 'mac') return
if (arch === 'arm7l' && platform !== 'linux') return
if (arch.includes('arm')) return
versions.push(getTarget({ platform, arch, version }))
})
})
+2 -3
View File
@@ -74,9 +74,8 @@ async function build() {
query: { name: target.toString() },
body: await readFileAsync(output),
headers: {
Authorization: 'token ' + env.GITHUB_TOKEN,
'Content-Type': 'application/octet-stream',
'User-Agent': 'nexe (https://www.npmjs.com/package/nexe)'
...headers,
'Content-Type': 'application/octet-stream'
}
})
console.log(target + ' uploaded.')