Skip to content

Commit 539ec85

Browse files
committed
Another attempt at getting verbose output
1 parent 82dfe93 commit 539ec85

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.ci_scripts/package.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@ shopt -s nullglob
44

55
if ([ "$OS_NAME" = "macos-10.15" ] || [ "$OS_NAME" = "macos-13" ]) && [ "$PACKAGE" = "ON" ]; then
66
sudo chmod -R +w /usr/local/Cellar
7+
8+
base_path="/Users/runner/work/supertux/supertux/build/_CPack_Packages/Darwin/Bundle"
9+
maybe_target=$(find $base_path -type d -exec find {} -depth -maxdepth 1 -type f -print -quit \)
10+
directory_name=$(basename $maybe_target)
11+
echo "Well, here's the example target:"
12+
echo $maybe_target
13+
echo "And here's the basename:"
14+
echo $directory_name
15+
16+
/usr/bin/hdiutil create -debug -ov -srcfolder $maybe_target -volname "SuperTux v0.6.3-1698-g56492b0c8" -fs "HFS+" -format UDRW "$base_path/temp.dmg"
17+
718
# Workaround resource busy bug on github on MacOS 13
819
# https://github.com/actions/runner-images/issues/7522
920
i=0

mk/cmake/SuperTux/BuildCPack.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ set(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README.md")
5454
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.txt")
5555
set(CPACK_PACKAGE_VERSION_MAJOR ${SUPERTUX_VERSION_MAJOR})
5656
set(CPACK_PACKAGE_VERSION_MINOR ${SUPERTUX_VERSION_MINOR})
57-
set(CPACK_COMMAND_HDIUTIL "/usr/bin/hdiutil -debug")
5857

5958
if(SUPERTUX_VERSION_TWEAK)
6059
set(CPACK_PACKAGE_VERSION_PATCH "${SUPERTUX_VERSION_PATCH}.${SUPERTUX_VERSION_TWEAK}")

0 commit comments

Comments
 (0)