diff --git a/.circleci/release.sh b/.circleci/release.sh index 72b5cf4b..83180804 100755 --- a/.circleci/release.sh +++ b/.circleci/release.sh @@ -40,7 +40,7 @@ main() { echo "Identifying changed charts since tag '$latest_tag'..." local changed_charts=() - readarray -t changed_charts <<< "$(find $(git diff --find-renames --name-only $latest_tag_rev -- .) -type f -iname 'Chart.yaml' | cut -d '/' -f 1 | uniq)" + readarray -t changed_charts <<< "$(find "$(git diff --find-renames --name-only "$latest_tag_rev" -- .)" -type f -iname 'Chart.yaml' | cut -d '/' -f 1 | uniq)" if [[ -n "${changed_charts[*]}" ]]; then for chart in "${changed_charts[@]}"; do