mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-29 01:45:40 +08:00
Compile lock file on publish
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user