Lint allow references to archive versions (#7953)

This commit is contained in:
Frank Budinsky 2020-08-13 18:17:26 -04:00 committed by GitHub
parent bd33488b7c
commit d2bf1b754b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ check_content() {
FAILED=1
fi
if grep -nr -e "(https://istio.io" .; then
if grep -nrP -e "\(https://istio.io/(?!v[0-9]\.[0-9]/)" .; then
echo "Ensure markdown content uses relative references to istio.io"
FAILED=1
fi