Merge pull request #9016 from zmstone/0920-chore-fix-git-diff-exclude-pattern-in-app-version-check-script
build: fix git diff exclude pattern in app version check script
This commit is contained in:
commit
cd313667c6
|
@ -42,7 +42,7 @@ check_apps() {
|
||||||
if [ "$old_app_version" = "$now_app_version" ]; then
|
if [ "$old_app_version" = "$now_app_version" ]; then
|
||||||
changed_lines="$(git diff "$latest_release"...HEAD --ignore-blank-lines -G "$no_comment_re" \
|
changed_lines="$(git diff "$latest_release"...HEAD --ignore-blank-lines -G "$no_comment_re" \
|
||||||
-- "$app_path/src" \
|
-- "$app_path/src" \
|
||||||
-- ":(exclude)'$app_path/src/*.appup.src'" \
|
-- ":(exclude)$app_path/src/*.appup.src" \
|
||||||
-- "$app_path/priv" \
|
-- "$app_path/priv" \
|
||||||
-- "$app_path/c_src" | wc -l ) "
|
-- "$app_path/c_src" | wc -l ) "
|
||||||
if [ "$changed_lines" -gt 0 ]; then
|
if [ "$changed_lines" -gt 0 ]; then
|
||||||
|
|
Loading…
Reference in New Issue