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

Update makefile #7

Merged
merged 1 commit into from
Apr 23, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
OLD_TAG = 0.0.3
TAG = 0.0.4

IMAGE = nginx-ingress-operator

RUN_NAMESPACE = default
Expand Down Expand Up @@ -31,8 +31,7 @@ generate-bundle:
mkdir bundle
cp deploy/crds/* bundle/
cp deploy/olm-catalog/nginx-ingress-operator/nginx-ingress-operator.package.yaml bundle/
cp deploy/olm-catalog/nginx-ingress-operator/$(TAG)/* bundle/
cp deploy/olm-catalog/nginx-ingress-operator/$(OLD_TAG)/nginx-ingress-operator.v$(OLD_TAG).clusterserviceversion.yaml bundle/
./hack/copy_manifests.sh
-rm bundle.zip
zip -j bundle.zip bundle/*.yaml

Expand Down
5 changes: 5 additions & 0 deletions hack/copy_manifests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

for f in $(find deploy/olm-catalog -name "*clusterserviceversion.yaml"); do
cp $f bundle/
done