From 25c40f7a3fa0a2ab3dcda38c584631072cea970d Mon Sep 17 00:00:00 2001 From: Sumedha Pramod Date: Thu, 1 Nov 2018 18:35:25 -0700 Subject: [PATCH] Chore: Fix publish script (#275) --- build/publish.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) 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 "----------------------------------------------------"