This commit is contained in:
parent
ea6ea677bc
commit
08e3c17c3e
@ -118,6 +118,7 @@ steps:
|
|||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- *branch
|
- *branch
|
||||||
|
- feature/*
|
||||||
event:
|
event:
|
||||||
- custom
|
- custom
|
||||||
|
|
||||||
|
7
warp4j
7
warp4j
@ -737,12 +737,13 @@ function warp_targets() {
|
|||||||
if [[ ${TARGETS[*]} == *"$LIN"* ]]; then
|
if [[ ${TARGETS[*]} == *"$LIN"* ]]; then
|
||||||
echo "Warping for $LIN..."
|
echo "Warping for $LIN..."
|
||||||
mkdir -p "$WARPED_TEMP_PATH/$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 \
|
warp-packer \
|
||||||
--arch linux-x64 \
|
--arch linux-x64 \
|
||||||
--input_dir "$BUNDLES_PATH/$LIN" \
|
--input_dir "$BUNDLES_PATH/$LIN" \
|
||||||
--exec "$LAUNCHER_NAME.sh" \
|
--exec "$LAUNCHER_NAME.sh" \
|
||||||
--output "$WARPED_TEMP_PATH/$LIN/$APP_NAME" \
|
--output "$WARPED_TEMP_PATH/$LIN/$APP_NAME" \
|
||||||
>&2
|
&> /dev/null
|
||||||
fail_if $? "Failed to warp for $LIN"
|
fail_if $? "Failed to warp for $LIN"
|
||||||
echo "Archiving for $LIN..."
|
echo "Archiving for $LIN..."
|
||||||
tar -C "$WARPED_TEMP_PATH/$LIN" -czf "$WARPED_TEMP_PATH/$APP_NAME-$LIN-x64.tar.gz" "$APP_NAME"
|
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" \
|
--input_dir "$BUNDLES_PATH/$MAC" \
|
||||||
--exec "$LAUNCHER_NAME.sh" \
|
--exec "$LAUNCHER_NAME.sh" \
|
||||||
--output "$WARPED_TEMP_PATH/$MAC/$APP_NAME" \
|
--output "$WARPED_TEMP_PATH/$MAC/$APP_NAME" \
|
||||||
>&2
|
&> /dev/null
|
||||||
fail_if $? "Failed to warp for $MAC"
|
fail_if $? "Failed to warp for $MAC"
|
||||||
echo "Archiving for $MAC..."
|
echo "Archiving for $MAC..."
|
||||||
tar -C "$WARPED_TEMP_PATH/$MAC" -czf "$WARPED_TEMP_PATH/$APP_NAME-$MAC-x64.tar.gz" "$APP_NAME"
|
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" \
|
--input_dir "$BUNDLES_PATH/$WIN" \
|
||||||
--exec "$LAUNCHER_NAME.cmd" \
|
--exec "$LAUNCHER_NAME.cmd" \
|
||||||
--output "$WARPED_TEMP_PATH/$WIN/$APP_NAME.exe" \
|
--output "$WARPED_TEMP_PATH/$WIN/$APP_NAME.exe" \
|
||||||
>&2
|
&> /dev/null
|
||||||
fail_if $? "Failed to warp for $WIN"
|
fail_if $? "Failed to warp for $WIN"
|
||||||
if command -v zip &> /dev/null ; then (
|
if command -v zip &> /dev/null ; then (
|
||||||
echo "Archiving for $WIN..."
|
echo "Archiving for $WIN..."
|
||||||
|
Loading…
Reference in New Issue
Block a user