diff --git a/bin/updateSubmodule.sh b/bin/updateSubmodule.sh index db4083e383..5f26ff5842 100755 --- a/bin/updateSubmodule.sh +++ b/bin/updateSubmodule.sh @@ -49,8 +49,8 @@ fi NEWCHANGES=$(git log ..$TARGET --oneline --no-merges --topo-order --reverse --color=never) TASKS=$(git log ..$TARGET --no-merges --format=format:%B | grep "Bug: T" | sort | uniq) NEWCHANGESDISPLAY=$(git log ..$TARGET --oneline --no-merges --reverse --color=always) -NEW_I18N_KEYS=$(git diff --color=never HEAD..$TARGET -- i18n/en.json | grep '^+' | grep -v '^+++' | sed -E 's/^\+\s*"([^"]+)":.*/\1/') -NEW_FILES=$(git diff --color=never HEAD..$TARGET --name-only --diff-filter=A) +NEW_I18N_KEYS=$(git diff HEAD..$TARGET -- i18n/en.json | grep '^+' | grep --color=never -v '^+++' | sed -E 's/^\+\s*"([^"]+)":.*/\1/') +NEW_FILES=$(git diff HEAD..$TARGET --name-only --diff-filter=A | grep --color=never -E "\.(js|css|less)$") COMMITMSG="Update VE core submodule to $TARGETDESC