From fec65e5ed206664c20d548ead06da75ecf62c0d8 Mon Sep 17 00:00:00 2001 From: Josef Glatz Date: Thu, 16 Mar 2017 22:26:37 +0100 Subject: [PATCH] [TASK] validateRstFiles script: improve error message Improve the error message for non valid index keywords in changelog RST files. Resolves: #80310 Releases: master Change-Id: Ibca4f135a7f43c7c936fd57c14b1f7b7fc0a9d1f Reviewed-on: https://review.typo3.org/52068 Tested-by: TYPO3com Reviewed-by: Georg Ringer Tested-by: Georg Ringer Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn --- Build/Scripts/validateRstFiles.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Build/Scripts/validateRstFiles.sh b/Build/Scripts/validateRstFiles.sh index 64c96490b058..c676e5a35725 100755 --- a/Build/Scripts/validateRstFiles.sh +++ b/Build/Scripts/validateRstFiles.sh @@ -43,7 +43,7 @@ for i in `find typo3/sysext/core/Documentation/Changelog -name "*.rst" -type f`; # the last line in the checked file if ! [[ "$fileContent" =~ '.. index:: '((TypoScript|TSConfig|TCA|FlexForm|LocalConfiguration|Fluid|FAL|Database|JavaScript|PHP-API|Frontend|Backend|CLI|RTE|ext:([a-z|A-Z|_|0-9]*))([,|[:space:]]{2})?)+$ ]]; then INDEX="no or wrong index" - index_message="insert '.. index:: ' at last line of the file" + index_message="insert '.. index:: ' at last line of the file. See Build/Scripts/validateRstFiles.sh for allowed keywords" outputFileToStream=1; else INDEX="" -- 2.20.1