From afd46cec63214fa308543174460fa9d38ed13af3 Mon Sep 17 00:00:00 2001 From: Austin Macdonald Date: Thu, 3 Sep 2020 17:11:06 -0400 Subject: [PATCH] Ignore some untracked files (#3852) Specifically, installing the docs locally generates files that trip up this command. --- release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release.sh b/release.sh index 576531bc40b..7c51dad7b74 100755 --- a/release.sh +++ b/release.sh @@ -14,7 +14,7 @@ if ! [[ "$VER" =~ ^v[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+$ ]]; then exit 1 fi -if git ls-files --others | grep -Ev 'build/operator-sdk-v.+'; then +if git ls-files --others --exclude-standard | grep -Ev 'build/operator-sdk-v.+'; then echo "directory has untracked files" exit 1 fi