rancher-charts/scripts/check-release-yaml

11 lines
161 B
Bash
Executable File

#!/bin/bash
yq -i release.yaml
if [[ -n $(git status --porcelain release.yaml) ]]; then
echo "release.yaml not following yq style"
exit 1
else
exit 0
fi