echo -e "\e[31mERROR: newsfragment $f does not have one of the required file extensions for a changelog entry: .new, .feature, .clarification, .breaking, .deprecation\e[39m" >&2
fi
# check that there is nothing that looks like a newsfile outside one of the
# expected directories.
@ -31,6 +37,7 @@ while read f; do
# see if this newsfile corresponds to the right PR