Skip to content

Commit

Permalink
Ignore some untracked files (#3852)
Browse files Browse the repository at this point in the history
Specifically, installing the docs locally generates files that trip up
this command.
  • Loading branch information
asmacdo committed Sep 3, 2020
1 parent fe4ad2b commit afd46ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit afd46ce

Please sign in to comment.