File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,14 +10,14 @@ echo -e "\033[0;32m LATEST_TAG -> ${LATEST_TAG}\033[0m"
10
10
echo -e " \033[0;32m NEXT_TAG -> ${NEXT_TAG} \033[0m"
11
11
12
12
# If you want to test this locally and you are using macOS, do `brew install gnu-sed` and change `sed` for `gsed`.
13
- find . \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i " s/${LATEST_TAG} /${NEXT_TAG} /g"
13
+ find . \( -type d -name .git -prune \) -o -type f ! -name ' Chart.yaml ' -print0 | xargs -0 sed -i " s/${LATEST_TAG} /${NEXT_TAG} /g"
14
14
15
15
echo -e " \033[0;32m Updating date used in some docs and files...\033[0m"
16
16
echo -e " \033[0;32m LATEST_DATE -> ${LATEST_DATE} \033[0m"
17
17
echo -e " \033[0;32m NEXT_DATE -> ${NEXT_DATE} \033[0m"
18
18
19
19
# If you want to test this locally and you are using macOS, do `brew install gnu-sed` and change `sed` for `gsed`.
20
- find . \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i " s/${LATEST_DATE} /${NEXT_DATE} /g"
20
+ find . \( -type d -name .git -prune \) -o -type f ! -name ' Chart.yaml ' -print0 | xargs -0 sed -i " s/${LATEST_DATE} /${NEXT_DATE} /g"
21
21
22
22
git diff | cat
23
23
You can’t perform that action at this time.
0 commit comments