Adding a CI check for the NOTES.txt file (#2453)

Points to docs when file missing to point user to a fix

Ref #2373
This commit is contained in:
Matt Farina
2017-10-13 17:23:51 +01:00
committed by Adnan Abdulhussein
parent 74bd046ed1
commit 8ca39ffce9
+9
View File
@@ -111,6 +111,15 @@ for directory in ${CHANGED_FOLDERS}; do
yamllinter ${directory}
semvercompare ${directory}
# Check for the existance of the NOTES.txt file. This is required for charts
# in this repo.
if [ ! -f ${directory}/templates/NOTES.txt ]; then
echo "Error NOTES.txt template not found. Please create one."
echo "For more information see https://docs.helm.sh/developing_charts/#chart-license-readme-and-notes"
exitCode=1
fi
fi
done