Skip to content

Commit

Permalink
pull changes for all submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
joe128 committed Feb 8, 2024
1 parent b54b30d commit 0df2d4d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion anyScript.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'"
Expand Down

0 comments on commit 0df2d4d

Please sign in to comment.