fixes circleci/upload_build.sh paths for dist files (#9341)
* fixes circleci/upload_build.sh paths for dist files * updated the react filenames to include development or production
Dominic Gannaway committed
Apr 5, 2017 at 17:25 UTC
24dc43c49fd8b1b84ebdbf6e1b83366cd9f3e1b0
1 file changed
+6
-8
scripts/circleci/upload_build.sh
+6
-8
@@ -4,14 +4,12 @@ set -e
4
5
if [ -z $CI_PULL_REQUEST ] && [ -n "$BUILD_SERVER_ENDPOINT" ]; then
6
curl \
7
- -F "react=@build/react.js" \
8
- -F "react.min=@build/react.min.js" \
9
- -F "react-dom=@build/react-dom.js" \
10
- -F "react-dom.min=@build/react-dom.min.js" \
11
- -F "react-dom-server=@build/react-dom-server.js" \
12
- -F "react-dom-server.min=@build/react-dom-server.min.js" \
13
- -F "npm-react=@build/packages/react.tgz" \
14
- -F "npm-react-dom=@build/packages/react-dom.tgz" \
7
+ -F "react.development=@build/dist/react.development.js" \
8
+ -F "react.production.min=@build/dist/react.production.min.js" \
9
+ -F "react-dom.development=@build/dist/react-dom.development.js" \
10
+ -F "react-dom.production.min=@build/dist/react-dom.production.min.js" \
11
+ -F "react-dom-server.development=@build/dist/react-dom-server.development.js" \
12
+ -F "react-dom-server.production.min=@build/dist/react-dom-server.production.min.js" \
13
-F "commit=$CIRCLE_SHA1" \
14
-F "date=`git log --format='%ct' -1`" \
15
-F "pull_request=false" \