|
|
|
@ -9,7 +9,7 @@ exports.default = async function afterbuild(context) { |
|
|
|
|
console.log('AFTER BUILD', context); |
|
|
|
|
|
|
|
|
|
const artifactPaths = context.artifactPaths |
|
|
|
|
const dmgs = artifactPaths.filter((dmg) => dmg.endsWith('.dmg')).map((dmg) => `'${dmg}'`) |
|
|
|
|
const dmgs = artifactPaths.filter((dmg) => dmg.endsWith('.dmg') || dmg.endsWith('.zip')).map((dmg) => `'${dmg}'`) |
|
|
|
|
fs.writeFileSync('dmgs.json', JSON.stringify({ dmgs }, null, 2)) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|