File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ if [[ "$CURRENT_BRANCH" == release-* ]]; then
4949 # NOTE (@NickLarsenNZ): find is not required for such a trivial case, but it is done for consitency
5050 find stacks/stacks-v2.yaml \
5151 -exec grep --color=always -l stackableRelease {} \; \
52- -exec sed -i -E " s/ (stackableRelease:\s+)(\S+)/ \1${STACKABLE_RELEASE} / " {} \; \
52+ -exec sed -i -E " s| (stackableRelease:\s+)(\S+)| \1${STACKABLE_RELEASE} | " {} \; \
5353 | prepend " \t"
5454 maybe_commit " chore(release): $MESSAGE "
5555
@@ -61,7 +61,7 @@ if [[ "$CURRENT_BRANCH" == release-* ]]; then
6161 echo " $MESSAGE "
6262 find demos stacks -type f \
6363 -exec grep --color=always -lE " $SEARCH " {} \; \
64- -exec sed -i -E " s/ ${SEARCH} / ${REPLACEMENT} / " {} \; \
64+ -exec sed -i -E " s| ${SEARCH} | ${REPLACEMENT} | " {} \; \
6565 | prepend " \t"
6666 maybe_commit " chore(release): $MESSAGE "
6767
@@ -80,7 +80,7 @@ echo "$MESSAGE"
8080# shellcheck disable=SC2016 # We intentionally don't want to expand the variable.
8181find demos stacks -type f \
8282 -exec grep --color=always -l githubusercontent {} \; \
83- -exec sed -i -E ' s/ (stackabletech\ /demos)\ /main\//\1\ /\${UPDATE_BRANCH_REF}\// ' {} \; \
83+ -exec sed -i -E ' s| (stackabletech/demos)/main/|\1 /\${UPDATE_BRANCH_REF}/| ' {} \; \
8484| prepend " \t"
8585
8686# Now, for all modified files, we can use envsubst
You can’t perform that action at this time.
0 commit comments