1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2025-02-26 12:46:47 +00:00
code-server-2/ci/steps/release.sh
2020-05-07 23:13:28 -04:00

21 lines
298 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
main() {
cd "$(dirname "$0")/../.."
yarn
yarn vscode
yarn build
yarn build:vscode
STATIC=1 yarn release
./ci/build/test-static-release.sh
./ci/build/archive-static-release.sh
if [[ $OSTYPE == linux* ]]; then
yarn pkg
fi
}
main "$@"