From b8cff7626eb3d3cbfe509658760af9aa860b386f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Duchesneau?= Date: Wed, 26 Aug 2020 19:51:21 -0400 Subject: [PATCH] set correct dlauncher git commit in scripts/build.sh --- scripts/build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/build.sh b/scripts/build.sh index dd712b44..6feed04a 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -41,6 +41,7 @@ build() { popd > /dev/null fi + DLAUNCHER=$(grep -w github.com/dfuse-io/dlauncher go.mod | sed 's/.*-\([a-f0-9]*$\)/\1/' |head -n 1) pushd .. > /dev/null if [[ ! -d dlauncher ]]; then echo "Cloning dlauncher dependency" @@ -50,6 +51,9 @@ build() { git pull popd > /dev/null fi + pushd dlauncher + git checkout $DLAUNCHER + popd >/dev/null if [[ ! -d dlauncher/dashboard/dashboard-build || $force_build == true ]]; then pushd dlauncher/dashboard > /dev/null