mirror of
https://github.com/coder/code-server.git
synced 2026-05-11 23:07:27 +02:00
Add NPM package, debs, rpms and refactor CI/build process
Closes many issues that I'll prune after adding more docs for users.
This commit is contained in:
26
ci/steps/linux-release.sh
Executable file
26
ci/steps/linux-release.sh
Executable file
@@ -0,0 +1,26 @@
|
||||
#!/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 "$@"
|
||||
Reference in New Issue
Block a user