From 08e3c17c3eb990617313a2258318f6578872bba8 Mon Sep 17 00:00:00 2001 From: david Date: Tue, 14 May 2024 09:43:52 +0200 Subject: [PATCH] Debugging build step --- .drone.yml | 1 + warp4j | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 27bce4f..ff3dfb7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -118,6 +118,7 @@ steps: trigger: branch: - *branch + - feature/* event: - custom diff --git a/warp4j b/warp4j index b2a55e6..399aa87 100755 --- a/warp4j +++ b/warp4j @@ -737,12 +737,13 @@ function warp_targets() { if [[ ${TARGETS[*]} == *"$LIN"* ]]; then echo "Warping for $LIN..." mkdir -p "$WARPED_TEMP_PATH/$LIN" + echo "warp-packer --arch linux-x64 --input_dir '$BUNDLES_PATH/$LIN' --exec '$LAUNCHER_NAME.sh' --output '$WARPED_TEMP_PATH/$LIN/$APP_NAME'" warp-packer \ --arch linux-x64 \ --input_dir "$BUNDLES_PATH/$LIN" \ --exec "$LAUNCHER_NAME.sh" \ --output "$WARPED_TEMP_PATH/$LIN/$APP_NAME" \ - >&2 + &> /dev/null fail_if $? "Failed to warp for $LIN" echo "Archiving for $LIN..." tar -C "$WARPED_TEMP_PATH/$LIN" -czf "$WARPED_TEMP_PATH/$APP_NAME-$LIN-x64.tar.gz" "$APP_NAME" @@ -760,7 +761,7 @@ function warp_targets() { --input_dir "$BUNDLES_PATH/$MAC" \ --exec "$LAUNCHER_NAME.sh" \ --output "$WARPED_TEMP_PATH/$MAC/$APP_NAME" \ - >&2 + &> /dev/null fail_if $? "Failed to warp for $MAC" echo "Archiving for $MAC..." tar -C "$WARPED_TEMP_PATH/$MAC" -czf "$WARPED_TEMP_PATH/$APP_NAME-$MAC-x64.tar.gz" "$APP_NAME" @@ -778,7 +779,7 @@ function warp_targets() { --input_dir "$BUNDLES_PATH/$WIN" \ --exec "$LAUNCHER_NAME.cmd" \ --output "$WARPED_TEMP_PATH/$WIN/$APP_NAME.exe" \ - >&2 + &> /dev/null fail_if $? "Failed to warp for $WIN" if command -v zip &> /dev/null ; then ( echo "Archiving for $WIN..."