Merge "Make releasenotes reminder detect added and untracked notes"

This commit is contained in:
Jenkins 2016-10-06 19:54:59 +00:00 committed by Gerrit Code Review
commit 290c31beaa

View File

@ -9,7 +9,7 @@ sphinx-build -a -E -W \
BUILD_RESULT=$?
UNCOMMITTED_NOTES=$(git status --porcelain | \
awk '$1 == "M" && $2 ~ /releasenotes\/notes/ {print $2}')
awk '$1 ~ "M|A|??" && $2 ~ /releasenotes\/notes/ {print $2}')
if [ "${UNCOMMITTED_NOTES}" ]
then