Skip to content

Commit

Permalink
Update build.sh - remove versions older than 1.18
Browse files Browse the repository at this point in the history
  • Loading branch information
yannh authored Sep 28, 2023
1 parent 37b16fe commit fddd893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


# All k8s versions, starting from 1.15
K8S_VERSIONS=$(git ls-remote --refs --tags https://github.com/kubernetes/kubernetes.git | cut -d/ -f3 | grep -e '^v1\.[0-9]\{2\}\.[0-9]\{1,2\}$' | grep -v -e '^v1\.1[0-4]\{1\}' )
K8S_VERSIONS=$(git ls-remote --refs --tags https://github.com/kubernetes/kubernetes.git | cut -d/ -f3 | grep -e '^v1\.[0-9]\{2\}\.[0-9]\{1,2\}$' | grep -v -e '^v1\.1[0-8]\{1\}' )
OPENAPI2JSONSCHEMABIN="docker run -i -v ${PWD}:/out/schemas ghcr.io/yannh/openapi2jsonschema:latest"

if [ -n "${K8S_VERSION_PREFIX}" ]; then
Expand Down

0 comments on commit fddd893

Please sign in to comment.