diff --git a/scripts/update.sh b/scripts/update.sh index 71164ec..437a585 100755 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash git submodule update --remote --merge +gitStatus=$(git status --porcelain) +grep -q "sadedot" <(echo $gitStatus) || return git commit -m "Update sadedot submodule" sadedot git push