Skip to content

Commit afd46ce

Browse files
authored
Ignore some untracked files (#3852)
Specifically, installing the docs locally generates files that trip up this command.
1 parent fe4ad2b commit afd46ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ if ! [[ "$VER" =~ ^v[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+$ ]]; then
1414
exit 1
1515
fi
1616

17-
if git ls-files --others | grep -Ev 'build/operator-sdk-v.+'; then
17+
if git ls-files --others --exclude-standard | grep -Ev 'build/operator-sdk-v.+'; then
1818
echo "directory has untracked files"
1919
exit 1
2020
fi

0 commit comments

Comments
 (0)