Skip to content

Commit 7621b4d

Browse files
committed
always make sure to update legalcode branch
1 parent a923d05 commit 7621b4d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/update.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ if [[ ! -z `git branch -r | grep ${BRANCH}` ]]; then
5151
echo "Checking out legalcode branch ${BRANCH} from remote"
5252
git checkout -b ${BRANCH} origin/${BRANCH}
5353
fi
54-
else
55-
echo "Making sure legalcode is set to branch ${BRANCH}"
56-
git checkout ${BRANCH}
5754
fi
5855

56+
echo "Making sure legalcode is set to branch ${BRANCH}"
57+
git checkout ${BRANCH}
58+
5959
echo "Updating legalcode"
6060
git pull
6161

0 commit comments

Comments
 (0)