Skip to content

Commit

Permalink
exclude v1 from API spec imports
Browse files Browse the repository at this point in the history
We changed the directory structure of the specs in the respective
controllers' v1 versions. Until a full Flux release has been cut we
need to exclude all v1 versions from being imported until #1427 has
landed.

Signed-off-by: Max Jonas Werner <mail@makk.es>
  • Loading branch information
Max Jonas Werner committed Apr 3, 2023
1 parent afb7174 commit f3578f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/import-flux2-assets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ controller_version() {
cat /tmp/releases
exit 1
fi
jq -r '.[] | .tag_name' < /tmp/releases | sort -V | tail -n 1
jq -r '.[] | .tag_name' < /tmp/releases | grep -v '^v1' | sort -V | tail -n 1
}

gen_crd_doc() {
Expand Down

0 comments on commit f3578f8

Please sign in to comment.