This commit is contained in:
kjeld Schouten-Lebbing 2022-04-01 11:18:05 +02:00
parent ee1101e9bf
commit ed45a031e7
No known key found for this signature in database
GPG Key ID: 4CDAD4A532BC1EDB
2 changed files with 3 additions and 4 deletions

View File

@ -77,12 +77,11 @@ runs:
lookup_changed_charts() {
local commit="$1"
local $charts_dir="charts/**"
local changed_files
changed_files=$(git diff --find-renames --name-only "$commit" -- "$charts_dir" | grep "Chart.yaml")
changed_files=$(git diff --find-renames --name-only "$commit" -- 'charts/**' | grep "Chart.yaml")
local depth=$(( $(tr "/" "\n" <<< "$charts_dir" | sed '/^\(\.\)*$/d' | wc -l) + 1 ))
local depth=$(( $(tr "/" "\n" <<< 'charts/**' | sed '/^\(\.\)*$/d' | wc -l) + 1 ))
local fields="1-${depth}"
cut -d '/' -f "$fields" <<< "$changed_files" | uniq | filter_charts

View File

@ -22,7 +22,7 @@ sources:
- https://github.com/bitnami/bitnami-docker-memcached
- http://memcached.org/
type: application
version: 2.0.28
version: 2.0.29
annotations:
truecharts.org/catagories: |
- database