bf8417ed1a
(cherry picked from commit b790f4ca1761bc1fab7818318213833a9c7d092f) Co-authored-by: spalger <spalger@users.noreply.github.com>
19 lines
461 B
Bash
19 lines
461 B
Bash
#!/usr/bin/env bash
|
|
|
|
source src/dev/ci_setup/setup_env.sh
|
|
|
|
###
|
|
### rebuild kbn-pm distributable to ensure it's not out of date
|
|
###
|
|
echo " -- building kbn-pm distributable"
|
|
yarn kbn run build -i @kbn/pm
|
|
|
|
###
|
|
### verify no git modifications
|
|
###
|
|
GIT_CHANGES="$(git ls-files --modified)"
|
|
if [ "$GIT_CHANGES" ]; then
|
|
echo -e "\n${RED}ERROR: 'yarn kbn run build -i @kbn/pm' caused changes to the following files:${C_RESET}\n"
|
|
echo -e "$GIT_CHANGES\n"
|
|
exit 1
|
|
fi
|