softplayer-apps/scripts/lint.sh

12 lines
236 B
Bash
Raw Permalink Normal View History

2024-05-19 20:49:21 +00:00
#!/usr/bin/env bash
CHANGED_CHARTS=$(ct list-changed)
CURRENT_DIR=$(pwd)
for CHART in $CHANGED_CHARTS; do
cd "${CHART}"
helm dependency update
ct lint --target-branch main --validate-maintainers=false
cd "${CURRENT_DIR}"
done