Skip to content

Commit

Permalink
Fix missing fi in bootstrap.sh (#1133)
Browse files Browse the repository at this point in the history
I guess we never noticed this because no-one build and deployed the
sytest containers?
  • Loading branch information
David Robertson authored Sep 9, 2021
1 parent e8d6a9c commit 9dd9b79
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ else
# Otherwise, try and find the branch that the Synapse/Dendrite checkout
# is using. Fall back to develop if unknown.
branch_name="$(git --git-dir=/src/.git symbolic-ref HEAD 2>/dev/null)" || branch_name="develop"
fi

if [ "$SYTEST_TARGET" == "dendrite" ] && [ "$branch_name" == "master" ]; then
# Dendrite uses master as its main branch. If the branch is master, we probably want sytest develop
branch_name="develop"
Expand Down

0 comments on commit 9dd9b79

Please sign in to comment.