2020-04-30 18:52:54 +07:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
|
|
|
|
main() {
|
|
|
|
cd "$(dirname "$0")/../.."
|
|
|
|
|
2020-05-15 08:47:33 +07:00
|
|
|
yarn --frozen-lockfile
|
2020-04-30 18:52:54 +07:00
|
|
|
yarn build
|
|
|
|
yarn build:vscode
|
2020-05-08 10:48:49 +07:00
|
|
|
yarn release
|
2020-05-19 00:48:45 +07:00
|
|
|
|
|
|
|
# https://github.com/actions/upload-artifact/issues/38
|
|
|
|
mkdir -p release-npm-package
|
|
|
|
tar -czf release-npm-package/package.tar.gz release
|
2020-04-30 18:52:54 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
main "$@"
|