mirror of
https://github.com/megastep/makeself.git
synced 2025-09-26 19:41:12 +08:00
22 lines
623 B
Bash
Executable File
22 lines
623 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
THIS="$(readlink -f "$0")"
|
|
THISDIR="$(dirname "${THIS}")"
|
|
SRCDIR="$(dirname "${THISDIR}")"
|
|
VERSION="$(cat "${SRCDIR}/VERSION")"
|
|
|
|
# Test run on artifacts
|
|
|
|
echo ">> env:"
|
|
uname -a
|
|
|
|
cd "$THISDIR"
|
|
|
|
# Try a quiet run
|
|
sh "../build-ubuntu/makeself-$VERSION.run" --quiet --target ./tmp/makeself-ubuntu
|
|
|
|
# Regular runs
|
|
sh "../build-ubuntu/makeself-$VERSION.run" --target ./tmp/makeself-ubuntu
|
|
sh "../build-alpine/makeself-$VERSION.run" --target ./tmp/makeself-alpine
|
|
sh "../build-windows/makeself-$VERSION.run" --target ./tmp/makeself-windows
|
|
sh "../build-macos/makeself-$VERSION.run" --target ./tmp/makeself-macos |