This commit is contained in:
parent
ea6ea677bc
commit
08e3c17c3e
@ -118,6 +118,7 @@ steps:
|
||||
trigger:
|
||||
branch:
|
||||
- *branch
|
||||
- feature/*
|
||||
event:
|
||||
- custom
|
||||
|
||||
|
7
warp4j
7
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..."
|
||||
|
Loading…
Reference in New Issue
Block a user