mirror of https://github.com/istio/istio.io.git
Lint allow references to archive versions (#7953)
This commit is contained in:
parent
bd33488b7c
commit
d2bf1b754b
|
@ -71,7 +71,7 @@ check_content() {
|
||||||
FAILED=1
|
FAILED=1
|
||||||
fi
|
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"
|
echo "Ensure markdown content uses relative references to istio.io"
|
||||||
FAILED=1
|
FAILED=1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue