From c83d8a350bc779115ed0097791dd850c2f52c187 Mon Sep 17 00:00:00 2001 From: Herman Venter Date: Tue, 22 May 2018 04:20:57 -0700 Subject: [PATCH] Update build command to explictly invoke yarn build Summary: Release note: none yarn install used to also invoke the build step. This changed a while ago, but this script was not updated accordingly. Apparently no-one noticed until now. Closes https://github.com/facebook/prepack/pull/1990 Differential Revision: D8081630 Pulled By: hermanventer fbshipit-source-id: 87a1f6b340010d27a76da39bb5569ffcb3f7a5b8 --- scripts/publish-gh-pages.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/publish-gh-pages.sh b/scripts/publish-gh-pages.sh index 2a9b0c53f..0ac9bf18a 100755 --- a/scripts/publish-gh-pages.sh +++ b/scripts/publish-gh-pages.sh @@ -18,7 +18,7 @@ DEST_CLONE_DIR="$TMP_DIR/gh-pages" SCRIPT_NAME=`basename "$0"` COMMIT_MESSAGE="Website published using $SCRIPT_NAME" -BUILD_COMMAND="yarn install && mv prepack.min.js $SRC_DIR/js/" +BUILD_COMMAND="yarn install && yarn build && mv prepack.min.js $SRC_DIR/js/" # Utils RED='\033[0;31m'