Skip to content

Commit

Permalink
darwin_app: fix GH CI, 2nd try.
Browse files Browse the repository at this point in the history
  • Loading branch information
agraef committed Dec 13, 2024
1 parent 2dd8f7d commit 89e45f0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/darwin_app/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,6 @@ dmg:
# sign libs (@MovementGH, https://github.com/pd-l2ork/pd-l2ork/commit/5a99fac)
./sign-MacOSX-dependencies.sh $(PD_APP_CONTENTS)
rm -f build.dmg
hdiutil create -format UDRW -fs HFS+ -srcfolder "$(BUILD_BASE)" \
-volname $(VOLUME_NAME) build.dmg
# GH runner often fails here, do max 10 retries
nretries=10; until [[ $$nretries -le 0 ]] || hdiutil create -format UDRW -fs HFS+ -srcfolder "$(BUILD_BASE)" -volname $(VOLUME_NAME) build.dmg; do echo "hdiutil create failed, retrying"; sleep 5; nretries=$$(expr $$nretries - 1); done
# detach one with the same name first
Expand Down

0 comments on commit 89e45f0

Please sign in to comment.