code-server-2/ci/steps/release.sh

21 lines
298 B
Bash
Raw Normal View History

#!/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
2020-05-08 00:44:32 +00:00
if [[ $OSTYPE == linux* ]]; then
yarn pkg
fi
}
main "$@"