Skip to content

Commit

Permalink
CI: OSX: avoid hdiutils resource busy
Browse files Browse the repository at this point in the history
  • Loading branch information
dxli committed Jan 4, 2025
1 parent 71b6d24 commit c1c31c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build-osx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ for i in {1..20}
do
sleep 10
cp "${OUTPUT_DMG}" "${OUTPUT_DMG}.$i.dmg"
hdiutil convert -shadow -format UDZO -ov -o "$OUTPUT_DMG.$i.dmg" "$OUTPUT_DMG.$i.dmg" && mv "$OUTPUT_DMG.$i.dmg" "${OUTPUT_DMG}.bak" && break
hdiutil convert -shadow -format UDZO -ov -o "$OUTPUT_DMG.$i.out.dmg" "$OUTPUT_DMG.$i.dmg" && mv "$OUTPUT_DMG.$i.out.dmg" "${OUTPUT_DMG}.bak" && break
done

if [[ -f "${OUTPUT_DMG}.bak" ]]
Expand Down

0 comments on commit c1c31c8

Please sign in to comment.