From a51e20085a43d7bb164ecf5557c88a7539a27e0f Mon Sep 17 00:00:00 2001 From: Geoff Hutchison Date: Thu, 28 Sep 2023 20:51:27 -0400 Subject: [PATCH] Fix Mac DMG Signed-off-by: Geoff Hutchison --- .github/workflows/build_cmake.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml index 219b448306..b29a19f0b1 100644 --- a/.github/workflows/build_cmake.yml +++ b/.github/workflows/build_cmake.yml @@ -295,8 +295,9 @@ jobs: brew install create-dmg VOL="Avogadro2-$VERSION" DMG="Avogadro2-$VERSION.dmg" + echo "VOL: $VOL" rm -f Avogadro2*.dmg - create-dmg --volname ${VOL} --icon-size 64 --icon "Avogadro2.app" 10 50 --app-drop-link 180 50 --hide-extension Avogadro2.app --window-size 300 50 --window-pos 200 200 --format UDBZ ${DMG} Avogadro2.app + create-dmg --volname ${VOL} --icon-size 64 --icon "Avogadro2.app" 10 50 --app-drop-link 180 50 --hide-extension Avogadro2.app --window-size 300 50 --window-pos 200 200 --format UDBZ ${DMG} prefix/Avogadro2.app # check if we have the password and the username if [ -n "${NOTARIZE_PASSWORD}" ] && [ -n "${NOTARIZE_USERNAME}" ]; then codesign -s "$CODESIGN_IDENTITY" --timestamp Avogadro2*.dmg