code-server-2/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 09:06:11 +00:00
# https://github.com/actions/upload-artifact/issues/38
2020-05-15 01:37:58 +00:00
chmod +x $(grep -rl '^#!/.*' release)
2020-05-13 09:06:11 +00:00
yarn release:static
2020-05-08 20:31:42 +00:00
yarn test:static-release
yarn package
}
main "$@"