Update action.yaml

This commit is contained in:
Kjeld Schouten-Lebbing 2022-04-03 17:10:14 +02:00 committed by GitHub
parent 55603c3ab8
commit 32beb97cfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -65,7 +65,6 @@ runs:
filter_charts() {
while read -r chart; do
echo "test ${chart}"
[[ ! -d "$chart" ]] && continue
if [[ $(git diff $latest_tag $chart/Chart.yaml | grep "+version") ]]; then
echo "$chart"
@ -81,7 +80,7 @@ runs:
local changed_files
changed_files=$(git diff --find-renames --name-only "$commit" -- 'charts/**' | grep "Chart.yaml")
echo "changed files: ${changed_files}"
local depth=$(( $(tr "/" "\n" <<< 'charts/**' | sed '/^\(\.\)*$/d' | wc -l) + 1 ))
local fields="1-${depth}"