diff --git a/CHANGELOG.md b/CHANGELOG.md index bdb9202..1dd20c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [3.2.0] - 2024-02-08 +### Added + - pull changes for all submodules (recursively) + ## [3.1.2] - 2022-01-11 ### Fixed - Fix check if there were errors during pull of new commits diff --git a/anyScript.sh b/anyScript.sh index f0dc0be..0b410ca 100755 --- a/anyScript.sh +++ b/anyScript.sh @@ -33,7 +33,7 @@ if [ -n "${gitbin}" ] && [ ! -f "$(dirname "$0")/.autoUpdateDisable" ] && [ -z " if [ $commits -gt 0 ]; then echo "[autoUpdate] Found updates ($commits commits)..." [ $doHardReset -gt 0 ] && $gitbin reset --hard - $gitbin pull --force + $gitbin pull --force --recurse-submodules if [ $? -eq 0 ]; then localTip=$(${gitbin} show --abbrev-commit --format=oneline $(${gitbin} rev-list --max-count=1 @{u}) | head -1) echo "[autoUpdate] source is now at commit '$localTip'"