From 33d7c7b84ca4cfd6433edc4eb92c2cb715eee9b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Sun, 24 May 2020 18:17:30 +0100 Subject: [PATCH] fix(ci): fix branch reset --- scripts/ci-diff-benchmark-go.sh | 2 +- scripts/ci-diff-webpack.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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