Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

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

Merged
merged 1 commit into from
Oct 13, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions test/circle/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down