- ls -la charts/ || echo "No charts/ directory found"
# Debug: List contents of charts/clamav/
- echo "Contents of charts/clamav/:"
- ls -la charts/clamav/ || echo "No clamav directory found"
# Debug: Explicitly check for v0.1.0 in clamav
- echo "Contents of charts/clamav/v0.1.0/:"
- ls -la charts/clamav/v0.1.0/ || echo "No v0.1.0 directory found in charts/clamav/"
# Find all versioned chart directories
- ALL_CHARTS=$$(find charts -maxdepth 2 -type d -regex '.*/v[0-9]+\.[0-9]+\.[0-9]+')
- ALL_CHARTS=$(find charts -maxdepth 2 -type d | grep "/v[0-9]\\+\\.[0-9]\\+\\.[0-9]\\+$")
- "echo \"Detected charts: $ALL_CHARTS\""
- 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