Fix for changed list of allowed characters in tag name
the build was successful Details

This commit is contained in:
Reinhard Müller 2019-03-15 14:24:57 +01:00
부모 a47dcd78d4
커밋 95e01d5d41
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제

파일 보기

@ -1,2 +1,2 @@
news/*/news-*:[legal-news]
news/*/.news-*:[legal-news]
news/*/news-*:[legal news]
news/*/.news-*:[legal news]

파일 보기

@ -175,7 +175,7 @@ for source_file in $(find * -name '*.sources' | sort); do
tag=$(echo "${line}" | sed -rn 's/.*:\[(.*)\]$/\1/p')
# Change to lowercase and remove invalid characters
tag=$(echo "${tag,,}" | tr -d ' +-/:_')
tag=$(echo "${tag,,}" | tr ' ' '_' | tr -d '/:')
# We append || true so the script doesn't fail if grep finds nothing at all
if [ -n "${tag}" ]; then