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
49
49
# NOTE (@NickLarsenNZ): find is not required for such a trivial case, but it is done for consitency
50
50
find stacks/stacks-v2.yaml \
51
51
-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} # " {} \; \
53
53
| prepend " \t"
54
54
maybe_commit " chore(release): $MESSAGE "
55
55
@@ -61,7 +61,7 @@ if [[ "$CURRENT_BRANCH" == release-* ]]; then
61
61
echo " $MESSAGE "
62
62
find demos stacks -type f \
63
63
-exec grep --color=always -lE " $SEARCH " {} \; \
64
- -exec sed -i -E " s| ${SEARCH} | ${REPLACEMENT} | " {} \; \
64
+ -exec sed -i -E " s# ${SEARCH} # ${REPLACEMENT} # " {} \; \
65
65
| prepend " \t"
66
66
maybe_commit " chore(release): $MESSAGE "
67
67
@@ -80,7 +80,7 @@ echo "$MESSAGE"
80
80
# shellcheck disable=SC2016 # We intentionally don't want to expand the variable.
81
81
find demos stacks -type f \
82
82
-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}/# ' {} \; \
84
84
| prepend " \t"
85
85
86
86
# Now, for all modified files, we can use envsubst
You can’t perform that action at this time.
0 commit comments