fix dmg
Some checks reported errors
BlockStorage/repertory_mac/pipeline/head Something is wrong with the build of this commit
BlockStorage/repertory/pipeline/head This commit looks good

This commit is contained in:
2025-09-12 17:58:40 -05:00
parent ed89b3e8c2
commit 694f487861
2 changed files with 9 additions and 12 deletions

View File

@@ -75,11 +75,8 @@ tar cvzf "${PROJECT_OUT_FILE}" -C ${TEMP_DIR} . || error_exit "failed to create
create_file_validations "${PROJECT_OUT_FILE}"
popd
if [ "${PROJECT_IS_DARWIN}" = "1" ] && [ -n "${PROJECT_MACOS_ICNS_NAME}" ]; then
APP_SRC="${PROJECT_BUILD_DIR}/build/${PROJECT_NAME}.app"
if [ ! -d "${APP_SRC}" ]; then
error_exit "App bundle not found: ${APP_SRC}" 2
fi
if [ -d "${TEMP_DIR}/${PROJECT_NAME}/${APP}.app" ]; then
APP_SRC="${TEMP_DIR}/${PROJECT_NAME}/${APP}.app"
DMG_ROOT="${TEMP_DIR}/dmgroot"
mkdir -p "${DMG_ROOT}" || error_exit "failed to create dmgroot" 1