Skip to content

Commit 8d58797

Browse files
committed
Add manifest outputs that split v1 and experimental
1 parent e812885 commit 8d58797

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,8 @@ artifacts: kustomize
353353
if [ -d artifacts ]; then rm -rf artifacts; fi
354354
mkdir -p artifacts
355355
$(KUSTOMIZE) build config/crd -o artifacts/manifests.yaml
356+
$(YQ) -P 'select(.spec.versions[].name == "v1")' artifacts/manifests.yaml > artifacts/v1-manifests.yaml
357+
$(YQ) -P 'select(.spec.versions[].name != "v1")' artifacts/manifests.yaml > artifacts/experimental-manifests.yaml
356358
@$(call clean-manifests)
357359

358360
.PHONY: release

0 commit comments

Comments
 (0)