From 49bba1785e7f5bb2ad207002adf9ef3132e3cc0c Mon Sep 17 00:00:00 2001 From: Konstantin <355847+Frozen@users.noreply.github.com> Date: Thu, 22 Feb 2024 11:53:16 -0400 Subject: [PATCH] Fix. (#4635) --- scripts/travis_rosetta_checker.sh | 2 ++ scripts/travis_rpc_checker.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/scripts/travis_rosetta_checker.sh b/scripts/travis_rosetta_checker.sh index b2e395fdb..d2f98569f 100644 --- a/scripts/travis_rosetta_checker.sh +++ b/scripts/travis_rosetta_checker.sh @@ -1,12 +1,14 @@ #!/usr/bin/env bash set -e +echo $TRAVIS_PULL_REQUEST_BRANCH DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)" echo $DIR echo $GOPATH cd $GOPATH/src/github.com/harmony-one/harmony-test git fetch git pull +git checkout $TRAVIS_PULL_REQUEST_BRANCH || true git branch --show-current cd localnet docker build -t harmonyone/localnet-test . diff --git a/scripts/travis_rpc_checker.sh b/scripts/travis_rpc_checker.sh index b057452f8..5de2ef93b 100755 --- a/scripts/travis_rpc_checker.sh +++ b/scripts/travis_rpc_checker.sh @@ -1,11 +1,13 @@ #!/usr/bin/env bash set -e +echo $TRAVIS_PULL_REQUEST_BRANCH DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)" echo $DIR echo $GOPATH cd $GOPATH/src/github.com/harmony-one/harmony-test git fetch +git checkout $TRAVIS_PULL_REQUEST_BRANCH || true git pull git branch --show-current cd localnet