diff --git a/scripts/ci-diff-benchmark-go.sh b/scripts/ci-diff-benchmark-go.sh index 3a24428c5..9a9209b52 100755 --- a/scripts/ci-diff-benchmark-go.sh +++ b/scripts/ci-diff-benchmark-go.sh @@ -8,7 +8,7 @@ git reset --hard FETCH_HEAD make benchmark-go | tee master.txt -git reset --hard origin ${TRAVIS_PULL_REQUEST_BRANCH} +git reset --hard ${TRAVIS_PULL_REQUEST_SHA} make benchmark-go | tee new.txt make benchmark-compare-go | tee benchstat.txt diff --git a/scripts/ci-diff-webpack.sh b/scripts/ci-diff-webpack.sh index 33f8ebc22..0c1dc59cf 100755 --- a/scripts/ci-diff-webpack.sh +++ b/scripts/ci-diff-webpack.sh @@ -10,7 +10,7 @@ make -C ui build/stats.json mv ui/build/stats.json master.json make clean -git reset --hard origin ${TRAVIS_PULL_REQUEST_BRANCH} +git reset --hard ${TRAVIS_PULL_REQUEST_SHA} make -C ui build/stats.json ./scripts/cra-bundle-stats-diff.py master.json ui/build/stats.json | tee diff.html