Revision 95c1e72d7640528ee7013d414168e98b155424bc authored by Martynas Pumputis on 21 July 2023, 12:45:19 UTC, committed by Martynas Pumputis on 21 July 2023, 12:45:19 UTC
Signed-off-by: Martynas Pumputis <m@lambda.lt>
1 parent 8053488
Raw File
check-helmvalues.sh
#!/usr/bin/env bash

set -o errexit
set -o nounset
set -o pipefail

script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
helm_values="${script_dir}/helm-values.rst"

if ! git diff --quiet -- "${helm_values}" ; then
    git --no-pager diff "${helm_values}"
    echo "HINT: to fix this, run 'make -C Documentation update-helm-values'"
    exit 1
fi
back to top