build/update: allow pull to fail if BRANCH does not track
This commit is contained in:
parent
f3fe77d597
commit
8fb96199df
|
@ -78,12 +78,12 @@ for ARG in ${ARGS}; do
|
|||
git_clone ${DIR} "${URL}"
|
||||
git_fetch ${DIR}
|
||||
for BRANCH in ${BRANCHES}; do
|
||||
git_pull ${DIR} ${BRANCH}
|
||||
git_pull ${DIR} ${BRANCH} || true
|
||||
done
|
||||
|
||||
if [ -n "${VERSION}" ]; then
|
||||
git_tag ${DIR} ${VERSION}
|
||||
git_pull ${DIR} ${BRANCHES}
|
||||
git_pull ${DIR} ${BRANCHES} || true
|
||||
git_reset ${DIR}
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue