Skip to content

Commit

Permalink
Compile lock file on publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Timer committed Oct 28, 2018
1 parent a958224 commit 57cccb3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tasks/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ set -x
cd ..
root_path=$PWD

if [ -z $CI ]; then
yarn compile:lockfile
fi

if [ -n "$(git status --porcelain)" ]; then
echo "Your git status is not clean. Aborting.";
exit 1;
Expand Down

0 comments on commit 57cccb3

Please sign in to comment.