use local var

This commit is contained in:
Jeff Billimek 2019-08-05 01:17:14 -04:00
parent b6cfb96517
commit 03e04fd8a7

View File

@ -39,6 +39,7 @@ main() {
echo "Identifying changed charts since tag '$latest_tag'..."
local packaged=false
git diff --find-renames --name-only "$latest_tag_rev" -- . | cut -d '/' -f 1 | uniq > /tmp/modified_dirs.txt
while read -r dir; do
if find "$dir" -type f -iname "Chart.yaml" | grep -E -q 'Chart.yaml'; then