Fix for changed list of allowed characters in tag name
the build was successful Szczegóły

This commit is contained in:
Reinhard Müller 2019-03-15 14:24:57 +01:00
rodzic a47dcd78d4
commit 95e01d5d41
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

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

Wyświetl plik

@ -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