File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
.github/actions/gen-install-scripts Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1717set -xeou pipefail
1818
1919# copy the initial bundle dir state from teh latest released bundle
20- latest_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 " .
20+ mkdir -p bundle/manifests
21+ cp config/manifests-template/bases/mongodb-atlas-kubernetes.clusterserviceversion.yaml bundle/manifests
2222
2323target_dir=" deploy"
2424clusterwide_dir=" ${target_dir} /clusterwide"
@@ -68,7 +68,7 @@ cp config/crd/bases/* "${crds_dir}"
6868# CSV bundle
6969operator-sdk generate kustomize manifests --input-dir=config/manifests-template --interactive=false -q --apis-dir=api
7070# 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 ) "
71+ current_version=" $( jq -r .current version.json ) "
7272
7373# We pass the version only for non-dev deployments (it's ok to have "0.0.0" for dev)
7474channel=" stable"
You can’t perform that action at this time.
0 commit comments