We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad8354b commit bc493c3Copy full SHA for bc493c3
tools/olm/docker-entry.sh
@@ -98,7 +98,10 @@ generate_olm_bundle() {
98
yq ea -i "del(.subjects[0].namespace)" "${ROLE_BINDING}"
99
100
# Needed to replace description with new bundle values
101
- sed -i "s/RELEASE_VERSION/${BUNDLE_VERSION}/" "${CSV_FILE}"
+ sed --in-place=.old "s/RELEASE_VERSION/${BUNDLE_VERSION}/" "${CSV_FILE}"
102
+ # Ensure that file permissions are preserved
103
+ chmod --reference="${CSV_FILE}".old "${CSV_FILE}"
104
+ rm "${CSV_FILE}".old
105
}
106
107
validate_olm_bundle() {
0 commit comments