Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
console.log(`Building miscord-${version}-win32.exe...`)
await build('win-x86', 'win32.exe')
console.log(`Building miscord-${version}-linux.bin...`)
await build('linux-x64', 'linux.bin')
console.log(`Building miscord-${version}-linux32.bin...`)
await build('linux-x86', 'linux32.bin')
console.log(`Building miscord-${version}-mac.bin...`)
await build('mac-x64', 'mac.bin')
console.log(`Building miscord-${version}-mac.zip...`)
await buildMacApp(version)
release({
auth: {
token: process.env.GITHUB_TOKEN!!
},
owner: 'miscord',
repo: 'miscord',
tag_name: 'v' + version,
target_commitish: 'master',
name: version,
assets: [
'win',
'win32',
'linux',
'linux32',
'mac',
'macapp'
].map(platform => `build/miscord-${version}-${platform}.zip`)