You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-exec sed -i -E "s/(stackableRelease:\s+)(\S+)/\1${STACKABLE_RELEASE}/" {} \; \
38
+
| prepend "\t"
26
39
27
40
# TODO (@NickLarsenNZ): Replace 0.0.0-dev refs with ${STACKABLE_RELEASE}.0
28
41
# handle patches later, and what about release-candidates?
29
-
SEARCH='stackable(0\.0\.0-dev|24\.7\.\d+)'# TODO (@NickLarsenNZ): After https://github.com/stackabletech/stackable-cockpit/issues/310, only search for 0.0.0-dev
42
+
SEARCH='stackable(0\.0\.0-dev|24\.7\.[0-9]+)'# TODO (@NickLarsenNZ): After https://github.com/stackabletech/stackable-cockpit/issues/310, only search for 0.0.0-dev
30
43
REPLACEMENT="stackable${STACKABLE_RELEASE}.0"# TODO (@NickLarsenNZ): Be a bit smarter about patch releases.
31
44
echo"Updating image references. Searching for $SEARCH, replacing with $REPLACEMENT"
32
45
find demos stacks -type f \
33
-
-exec sed -i -E "s/${SEARCH}/${REPLACEMENT}/" {} \;
46
+
-exec grep --color=always -lE "$SEARCH" {} \; \
47
+
-exec sed -i -E "s/${SEARCH}/${REPLACEMENT}/" {} \; \
48
+
| prepend "\t"
34
49
35
50
# Look for remaining references
36
51
echo"Checking files with older stackable release references which will be assumed to be intentional."
0 commit comments