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

Commit 8d0880e

Browse files
committed
Update Makefile to copy all olm manifests
1 parent 6d412f7 commit 8d0880e

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
OLD_TAG = 0.0.3
21
TAG = 0.0.4
2+
3+
>>>>>>> Update Makefile to copy all olm manifests
34
IMAGE = nginx-ingress-operator
45

56
RUN_NAMESPACE = default
@@ -31,8 +32,7 @@ generate-bundle:
3132
mkdir bundle
3233
cp deploy/crds/* bundle/
3334
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/
35+
./hack/copy_manifests.sh
3636
-rm bundle.zip
3737
zip -j bundle.zip bundle/*.yaml
3838

hack/copy_manifests.sh

+5
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)