diff --git a/build/publish.sh b/build/publish.sh index 9d52d7bc6..be80aa4ee 100755 --- a/build/publish.sh +++ b/build/publish.sh @@ -114,6 +114,8 @@ clean_assets() { } build_assets() { + yarn run pre-build; + echo "----------------------------------------------------" echo "Starting babel build for version" $VERSION echo "----------------------------------------------------" @@ -169,13 +171,6 @@ publish_to_npm() { exit 1 fi - if [[ $(git status --porcelain 2>/dev/null| egrep "^(M| M)") != "" ]] ; then - echo "----------------------------------------------------" - echo "Your branch has uncommited files!" - echo "----------------------------------------------------" - exit 1 - fi - echo "----------------------------------------------------" echo "Checking out version" $VERSION echo "----------------------------------------------------"