mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-24 07:59:02 +00:00
use local var
This commit is contained in:
parent
b6cfb96517
commit
03e04fd8a7
@ -39,6 +39,7 @@ main() {
|
|||||||
|
|
||||||
echo "Identifying changed charts since tag '$latest_tag'..."
|
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
|
git diff --find-renames --name-only "$latest_tag_rev" -- . | cut -d '/' -f 1 | uniq > /tmp/modified_dirs.txt
|
||||||
while read -r dir; do
|
while read -r dir; do
|
||||||
if find "$dir" -type f -iname "Chart.yaml" | grep -E -q 'Chart.yaml'; then
|
if find "$dir" -type f -iname "Chart.yaml" | grep -E -q 'Chart.yaml'; then
|
||||||
|
Loading…
Reference in New Issue
Block a user