Skip to content

Commit

Permalink
set correct dlauncher git commit in scripts/build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Stéphane Duchesneau committed Aug 26, 2020
1 parent 552497d commit b8cff76
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down

0 comments on commit b8cff76

Please sign in to comment.