Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
Update build command to explictly invoke yarn build
Browse files Browse the repository at this point in the history
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 #1990

Differential Revision: D8081630

Pulled By: hermanventer

fbshipit-source-id: 87a1f6b340010d27a76da39bb5569ffcb3f7a5b8
  • Loading branch information
Herman Venter authored and facebook-github-bot committed May 22, 2018
1 parent b3018aa commit c83d8a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/publish-gh-pages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit c83d8a3

Please sign in to comment.