Update results.json from master before the build (#11882)
Dan Abramov committed
Dec 18, 2017 at 18:56 UTC
247c5241706356033cd5bf1dc31197e058853e13
1 file changed
+5
scripts/circleci/build.sh
+5
@@ -2,6 +2,11 @@
2
3
set -e
4
5
+# Update the local size measurements to the master version
6
+# so that the size diff printed at the end of the build is
7
+# accurate.
8
+curl -o scripts/rollup/results.json http://react.zpao.com/builds/master/latest/results.json
9
+
10
yarn build --extract-errors
11
# Note: since we run the full build including extracting error codes,
12
# it is important that we *don't* reset the change to `scripts/error-codes/codes.json`.