Commit b4ab9da
committed
well the last build didn't have artifacts because the .app dir needs the -r flag to be copied. And the sudo doesn't appear to make a difference in preventing that dialog from blocking the AppleScript that generates our dmg
2020-06-21T22:07:36.8891910Z + cp helloWorld.app ../../../../../dist/
2020-06-21T22:07:36.8909880Z cp: helloWorld.app is a directory (not copied).
2020-06-21T22:07:36.8916310Z + sudo ./create-osx-dmg.sh helloWorld.app
2020-06-21T22:07:36.9837530Z ++ basename helloWorld.app .app
2020-06-21T22:07:36.9908580Z + APP_NAME=helloWorld
2020-06-21T22:07:36.9908790Z + DMG_BACKGROUND_IMG=background.png
2020-06-21T22:07:36.9908910Z + SYMLINKS_SCRIPT=MakeSymlinks
2020-06-21T22:07:36.9909010Z + VOL_NAME=helloWorld
2020-06-21T22:07:36.9909850Z + DMG_TEMP=helloWorld-temp.dmg
2020-06-21T22:07:36.9909980Z + DMG=helloWorld.dmg
2020-06-21T22:07:36.9910070Z + STAGING_DIR=_install
2020-06-21T22:07:36.9910520Z + rm -rf _install helloWorld.dmg helloWorld-temp.dmg
2020-06-21T22:07:36.9931400Z + echo '-- Copy application into install dir'
2020-06-21T22:07:36.9931840Z -- Copy application into install dir
2020-06-21T22:07:36.9931980Z + mkdir _install
2020-06-21T22:07:36.9952890Z + cp -a helloWorld.app _install
2020-06-21T22:07:39.8925150Z + ln -s /Applications _install/Applications
2020-06-21T22:07:39.8947810Z + mkdir _install/.background
2020-06-21T22:07:39.8967310Z + cp data/background.png _install/.background/
2020-06-21T22:07:39.8989300Z + cp data/MakeSymlinks _install/MakeSymlinks
2020-06-21T22:07:39.9011130Z + echo '-- Create volume'
2020-06-21T22:07:39.9011590Z -- Create volume
2020-06-21T22:07:39.9016890Z + du -sm _install
2020-06-21T22:07:39.9018350Z + awk '{print $1}'
2020-06-21T22:07:39.9437420Z ++ cat _size
2020-06-21T22:07:39.9464120Z + expr 192 + 99
2020-06-21T22:07:39.9499310Z ++ cat _size
2020-06-21T22:07:39.9518090Z + hdiutil create -srcfolder _install -volname helloWorld -fs HFS+ -format UDRW -size 291M helloWorld-temp.dmg
2020-06-21T22:08:22.9094530Z created: /Users/runner/runners/2.263.0/work/cross-platform-python-gui/cross-platform-python-gui/buildozer/.buildozer/osx/platform/kivy-sdk-packager-master/osx/helloWorld-temp.dmg
2020-06-21T22:08:22.9100670Z + rm _size
2020-06-21T22:08:22.9169150Z + hdiutil unmount /Volumes/helloWorld
2020-06-21T22:08:22.9327500Z hdiutil: unmount: "/Volumes/helloWorld" failed to unmount due to error 2.
2020-06-21T22:08:22.9494130Z hdiutil: unmount failed - No such file or directory
2020-06-21T22:08:22.9499440Z + true
2020-06-21T22:08:22.9511660Z ++ hdiutil attach -readwrite -noverify helloWorld-temp.dmg
2020-06-21T22:08:22.9516710Z ++ egrep '^/dev/'
2020-06-21T22:08:22.9517080Z ++ sed 1q
2020-06-21T22:08:22.9520540Z ++ awk '{print $1}'
2020-06-21T22:08:23.1664820Z + DEVICE=/dev/disk2
2020-06-21T22:08:23.1684630Z + sleep 2
2020-06-21T22:08:25.3092660Z + echo '
2020-06-21T22:08:25.3092890Z tell application "Finder"
2020-06-21T22:08:25.3092980Z tell disk "helloWorld"
2020-06-21T22:08:25.3093080Z open
2020-06-21T22:08:25.3093420Z set current view of container window to icon view
2020-06-21T22:08:25.3093570Z set toolbar visible of container window to false
2020-06-21T22:08:25.3093680Z set statusbar visible of container window to false
2020-06-21T22:08:25.3093790Z delay 1
2020-06-21T22:08:25.3094020Z set the bounds of container window to {100, 100, 650, 501}
2020-06-21T22:08:25.3094130Z delay 1
2020-06-21T22:08:25.3094240Z set viewOptions to the icon view options of container window
2020-06-21T22:08:25.3094350Z set arrangement of viewOptions to not arranged
2020-06-21T22:08:25.3094460Z set icon size of viewOptions to 128
2020-06-21T22:08:25.3094560Z set background picture of viewOptions to file ".background:background.png"
2020-06-21T22:08:25.3094680Z set position of item "helloWorld.app" of container window to {160, 265}
2020-06-21T22:08:25.3094800Z set position of item "Applications" of container window to {384, 265}
2020-06-21T22:08:25.3094890Z close
2020-06-21T22:08:25.3094980Z open
2020-06-21T22:08:25.3095070Z update without registering applications
2020-06-21T22:08:25.3095170Z delay 2
2020-06-21T22:08:25.3095250Z end tell
2020-06-21T22:08:25.3095340Z end tell
2020-06-21T22:08:25.3095920Z '
2020-06-21T22:08:25.3096570Z + osascript
2020-06-21T22:10:25.8486210Z 85:134: execution error: Finder got an error: AppleEvent timed out. (-1712)
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
#
# On branch master
# Your branch is up to date with 'origin/master'.
#
# Changes to be committed:
# modified: buildDmg.sh
#1 parent ff368b8 commit b4ab9da
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
| 250 | + | |
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
| |||
0 commit comments