Publish server dmg to release artifacts

Summary: ^

Reviewed By: passy

Differential Revision: D49544230

fbshipit-source-id: 908a5d7c759bcbcef34c262ab588500fc87cb463
This commit is contained in:
Lorenzo Blasa
2023-09-25 03:59:38 -07:00
committed by Facebook GitHub Bot
parent a4933373b5
commit 9e98391151
2 changed files with 52 additions and 5 deletions

View File

@@ -614,7 +614,7 @@ async function createMacDMG(
) {
console.log(`⚙️ Create macOS DMG from: ${outputPath}`);
const name = `Flipper-${platform}.dmg`;
const name = `Flipper-server-${platform}.dmg`;
const temporaryDirectory = os.tmpdir();
const dmgOutputPath = path.resolve(temporaryDirectory, name);
@@ -623,7 +623,6 @@ async function createMacDMG(
const dmgPath = path.resolve(destPath, name);
// const dmgPath = `${destPath}/${name}`;
const cmd = `hdiutil create -format UDZO -srcfolder "${outputPath}/" -volname "Flipper" ${dmgOutputPath}`;
return new Promise<void>((resolve, reject) => {