Skip to content

Commit 699e1aa

Browse files
committed
Avoid to bump Helm Chart
[skip ci]
1 parent 7d315d3 commit 699e1aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

update_tag_in_docs_and_files.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ echo -e "\033[0;32m LATEST_TAG -> ${LATEST_TAG}\033[0m"
1010
echo -e "\033[0;32m NEXT_TAG -> ${NEXT_TAG}\033[0m"
1111

1212
# 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"
1414

1515
echo -e "\033[0;32m Updating date used in some docs and files...\033[0m"
1616
echo -e "\033[0;32m LATEST_DATE -> ${LATEST_DATE}\033[0m"
1717
echo -e "\033[0;32m NEXT_DATE -> ${NEXT_DATE}\033[0m"
1818

1919
# 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"
2121

2222
git diff | cat
2323

0 commit comments

Comments
 (0)