diff --git a/.github/workflows/charts-release.yaml b/.github/workflows/charts-release.yaml index e8df6403518..cfd4f1212a1 100644 --- a/.github/workflows/charts-release.yaml +++ b/.github/workflows/charts-release.yaml @@ -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 diff --git a/charts/stable/sonarr/Chart.yaml b/charts/stable/sonarr/Chart.yaml index 2cd6aeaa4e6..4e3bff359ed 100644 --- a/charts/stable/sonarr/Chart.yaml +++ b/charts/stable/sonarr/Chart.yaml @@ -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