From 7a770b8627176a817e4a2263c29f642ca10d1d2b Mon Sep 17 00:00:00 2001 From: Ta-Ching Chen Date: Mon, 18 Nov 2019 17:00:56 +0800 Subject: [PATCH] Fix failed to find init_tools.sh (#1417) --- hack/release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/release.sh b/hack/release.sh index b035cc29..916906ba 100755 --- a/hack/release.sh +++ b/hack/release.sh @@ -3,11 +3,11 @@ set -e #set -x -source $(realpath $(dirname $BASH_SOURCE)/../test/init_tools.sh) - DIR=$(realpath $(dirname $0))/../ BUILDDIR=$(realpath $DIR)/build +source $(realpath ${DIR}/test/init_tools.sh) + # Ensure we're on the master branch check_branch() { local version=$1