Skip to content

Commit be317f4

Browse files
committed
fix: shellcheck
1 parent fb3c236 commit be317f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/addons/generate-mindthegap-repofile.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ cp "${GIT_REPO_ROOT}/charts/cluster-api-runtime-extensions-nutanix/templates/hel
1515
gh release download "${PREVIOUS_CAREN_CHARTS_VERSION}" \
1616
-p "runtime-extension-components.yaml" -D "${ASSETS_DIR}/" --clobber
1717

18-
cat "${ASSETS_DIR}/runtime-extension-components.yaml" | yq e '. | select(.metadata.name == "default-helm-addons-config")' >>"${ASSETS_DIR}/previous-charts.yaml"
18+
yq e '. | select(.metadata.name == "default-helm-addons-config")' >>"${ASSETS_DIR}/previous-charts.yaml" <"${ASSETS_DIR}/runtime-extension-components.yaml"
1919

2020
# this sed line is needed because the go library is unable to parse yaml with a template string.
2121
sed -i s/"{{ .Values.helmAddonsConfigMap }}"/placeholder/g "${ASSETS_DIR}/helm-config.yaml"

0 commit comments

Comments
 (0)