Skip to content

Commit 71570f9

Browse files
authored
CLOUDP-335401: Fix bundle update from latest release (#2733)
Signed-off-by: jose.vazquez <jose.vazquez@mongodb.com>
1 parent 3ac64bc commit 71570f9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/actions/gen-install-scripts/entrypoint.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616

1717
set -xeou pipefail
1818

19+
# 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" .
22+
1923
target_dir="deploy"
2024
clusterwide_dir="${target_dir}/clusterwide"
2125
namespaced_dir="${target_dir}/namespaced"

0 commit comments

Comments
 (0)