Skip to content

Commit

Permalink
helpers: Pull updates to submodules as well
Browse files Browse the repository at this point in the history
Without this any submodules could get out of sync.
  • Loading branch information
JamiKettunen committed Dec 15, 2021
1 parent f8a462f commit 47ac5ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ buildmw() {
if [[ "$BUILDOFFLINE" = "" && "$PKG" != *"-localbuild" ]]; then
if [ -z "$GIT_REVISION" ]; then
minfo "pulling updates..."
git pull >>$LOG 2>&1|| die "pulling of updates failed"
git pull --recurse-submodules >>$LOG 2>&1|| die "pulling of updates failed"
else
git diff-index --quiet HEAD -- || die "workdir of $PKG is not clean, refusing to reset version"
minfo "setting version to $GIT_REVISION..."
Expand Down

0 comments on commit 47ac5ed

Please sign in to comment.