- ALL_CHARTS=$(find charts -maxdepth 2 -type d -regex ".*/v[0-9]+\.[0-9]+\.[0-9]+")
- if [ -n "$CHANGED_CHARTS" ]; then echo "$CHANGED_CHARTS" | xargs -I {} helm package {} --destination charts/dist; else echo "No charts changed"; fi
- "echo \"Detected charts: $ALL_CHARTS\""
- mkdir -p charts/dist
- if [ -n "$ALL_CHARTS" ]; then echo "$ALL_CHARTS" | xargs -I {} helm package {} --destination charts/dist; else echo "No charts found in repository"; exit 1; fi
# Debug: List packaged files
- ls -la charts/dist/ || echo "No files in charts/dist/"