chore(sonarr): bump

This commit is contained in:
Stavros kois 2023-12-31 18:32:55 +02:00
parent 2c59322f39
commit 87d557cee7
No known key found for this signature in database
GPG Key ID: 52FD8F5EE0A731BB
2 changed files with 15 additions and 4 deletions

View File

@ -240,11 +240,22 @@ jobs:
# Extract the file name and first line from each file
filename=$(basename "${file}")
echo "Found doc file: ${file}"
test_title=$(head -n 1 "${file}" | grep -v "\-\-\-" | sed 's/# //')
if [ -n "${test_title}" ]; then
ok_title="false"
echo "Getting the first line"
h=$(head -n 1 "${file}")
echo "The first line is: ${h}"
# Check if the first line has ---
if [[ "${h}" == "---" ]]; then
echo "First line is ---, continuing..."
ok_title="true"
elif [[ "${h}" == "# "* ]]; then
echo "First line is #..."
ok_title="false"
fi
if [ ${ok_title} == "false" ]; then
echo "Doc title should use front matter and not # for title, for example"
echo "---"
echo "title: ${test_title}"
echo "title: some title"
echo "---"
exit 99
fi

View File

@ -1,7 +1,7 @@
kubeVersion: '>=1.24.0-0'
apiVersion: v2
name: sonarr
version: 19.0.4
version: 19.0.5
appVersion: 4.0.0.741
description: Smart PVR for newsgroup and bittorrent users
home: https://truecharts.org/charts/stable/sonarr