Skip to content
This repository was archived by the owner on May 24, 2023. It is now read-only.

Commit 3600dca

Browse files
committed
Update Makefile to copy all olm manifests
1 parent 6d412f7 commit 3600dca

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
OLD_TAG = 0.0.3
21
TAG = 0.0.4
2+
33
IMAGE = nginx-ingress-operator
44

55
RUN_NAMESPACE = default
@@ -31,8 +31,7 @@ generate-bundle:
3131
mkdir bundle
3232
cp deploy/crds/* bundle/
3333
cp deploy/olm-catalog/nginx-ingress-operator/nginx-ingress-operator.package.yaml bundle/
34-
cp deploy/olm-catalog/nginx-ingress-operator/$(TAG)/* bundle/
35-
cp deploy/olm-catalog/nginx-ingress-operator/$(OLD_TAG)/nginx-ingress-operator.v$(OLD_TAG).clusterserviceversion.yaml bundle/
34+
./hack/copy_manifests.sh
3635
-rm bundle.zip
3736
zip -j bundle.zip bundle/*.yaml
3837

hack/copy_manifests.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
3+
for f in $(find deploy/olm-catalog -name "*clusterserviceversion.yaml"); do
4+
cp $f bundle/
5+
done

0 commit comments

Comments
 (0)