Skip to content

Commit dcc261f

Browse files
committed
Update update_version_comments.sh
1 parent dd50753 commit dcc261f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/update_version_comments.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
6060
! -path "./.git/*" \
6161
! -name ".*" \
6262
-print0 | \
63-
xargs -0 sed -i '' -e "s/WARNING: you are on the master branch, please refer to the examples on the branch that matches.*/this is an example for cortex release ${git_branch} and may not deploy correctly on other releases of cortex/"
63+
xargs -0 sed -i '' -e "s/WARNING: you are on the master branch, please refer to the examples on the branch that matches your \`cortex version\`/this is an example for cortex release ${git_branch} and may not deploy correctly on other releases of cortex/"
6464
else
6565
cd "$ROOT" && find . -type f \
6666
! -path "./build/lint.sh" \
@@ -70,7 +70,7 @@ else
7070
! -path "./.git/*" \
7171
! -name ".*" \
7272
-print0 | \
73-
xargs -0 sed -i "s/WARNING: you are on the master branch, please refer to the examples on the branch that matches.*/this is an example for cortex release ${git_branch} and may not deploy correctly on other releases of cortex/"
73+
xargs -0 sed -i "s/WARNING: you are on the master branch, please refer to the examples on the branch that matches your \`cortex version\`/this is an example for cortex release ${git_branch} and may not deploy correctly on other releases of cortex/"
7474
fi
7575

7676
echo "done"

0 commit comments

Comments
 (0)