mirror of
https://git.tuxpa.in/a/code-server.git
synced 2024-12-28 13:15:25 +00:00
be032cf735
Closes many issues that I'll prune after adding more docs for users.
27 lines
687 B
Bash
Executable File
27 lines
687 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
main() {
|
|
cd "$(dirname "$0")/../.."
|
|
source ./ci/lib.sh
|
|
|
|
if [[ $(arch) == arm64 ]]; then
|
|
# This, strangely enough, fixes the arm build being terminated for not having
|
|
# output on Travis. It's as if output is buffered and only displayed once a
|
|
# certain amount is collected. Five seconds didn't work but one second seems
|
|
# to generate enough output to make it work.
|
|
while true; do
|
|
echo 'Still running...'
|
|
sleep 1
|
|
done &
|
|
trap "exit" INT TERM
|
|
trap "kill 0" EXIT
|
|
fi
|
|
|
|
./ci/container/exec.sh ./ci/steps/static-release.sh
|
|
./ci/container/exec.sh yarn pkg
|
|
./ci/release-container/push.sh
|
|
}
|
|
|
|
main "$@"
|