[6.7] [ci] rebuild kbn-pm distributatble to ensure it is up-to-date (#33752) (#33803)

* [ci] rebuild kbn-pm distributatble to ensure it is up-to-date (#33752)

* update kbn/pm dist
This commit is contained in:
Spencer 2019-03-25 14:16:40 -07:00 committed by GitHub
parent 738b875b2e
commit adbee73885
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1089 additions and 4361 deletions

File diff suppressed because it is too large Load diff

View file

@ -130,3 +130,19 @@ if [ "$GIT_CHANGES" ]; then
echo -e "$GIT_CHANGES\n"
exit 1
fi
###
### 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