mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-02-03 07:49:03 +00:00
exclude hidden dirs
This commit is contained in:
parent
2219bde075
commit
643cb125fa
@ -40,7 +40,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
|
||||
git diff --find-renames --name-only "$latest_tag_rev" -- [a-zA-Z0-9]* | 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
|
||||
echo "Packaging chart '$dir'..."
|
||||
|
Loading…
Reference in New Issue
Block a user