softplayer-apps/scripts/lint.sh

12 lines
236 B
Bash
Executable File

#!/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