File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
.github/actions/gen-install-scripts Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,8 @@ set -xeou pipefail
1818
1919# copy the initial bundle dir state from teh latest released bundle
2020latest_release_dir=$( find releases -mindepth 1 -maxdepth 1 -type d -printf ' %f\n' | sort -Vr | head -n 1)
21- cp -rf " releases/${latest_release_dir} /bundle" .
21+ mkdir -p bundle/manifests
22+ cp config/manifests-template/bases/mongodb-atlas-kubernetes.clusterserviceversion.yaml bundle/manifests
2223
2324target_dir=" deploy"
2425clusterwide_dir=" ${target_dir} /clusterwide"
@@ -68,7 +69,7 @@ cp config/crd/bases/* "${crds_dir}"
6869# CSV bundle
6970operator-sdk generate kustomize manifests --input-dir=config/manifests-template --interactive=false -q --apis-dir=api
7071# get the current version so we could put it into the "replaces:"
71- current_version=" $( yq e ' .metadata.name ' bundle/manifests/mongodb-atlas-kubernetes.clusterserviceversion.yaml ) "
72+ current_version=" $( jq -r .current version.json ) "
7273
7374# We pass the version only for non-dev deployments (it's ok to have "0.0.0" for dev)
7475channel=" stable"
You can’t perform that action at this time.
0 commit comments