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

16 lines
253 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -euo pipefail
main() {
cd "$(dirname "$0")/../.."
2020-05-13 17:06:11 +08:00
# https://github.com/actions/upload-artifact/issues/38
2020-05-15 09:37:58 +08:00
chmod +x $(grep -rl '^#!/.*' release)
2020-05-13 17:06:11 +08:00
yarn release:static
2020-05-09 04:31:42 +08:00
yarn test:static-release
yarn package
}
main "$@"