We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d9278f commit 92a44b2Copy full SHA for 92a44b2
hack/crd-schema-checker.sh
@@ -14,8 +14,9 @@ trap cleanup EXIT
14
15
for crd in config/crd/bases/*.yaml; do
16
mkdir -p "$(dirname "$TMP_DIR/$crd")"
17
- git show "$BASE_REF:$crd" > "$TMP_DIR/$crd"
18
- $CHECKER check-manifests \
19
- --existing-crd-filename="$TMP_DIR/$crd" \
20
- --new-crd-filename="$crd"
+ if git show "$BASE_REF:$crd" > "$TMP_DIR/$crd"; then
+ $CHECKER check-manifests \
+ --existing-crd-filename="$TMP_DIR/$crd" \
+ --new-crd-filename="$crd"
21
+ fi
22
done
0 commit comments