diff --git a/.github/scripts/build-catalog.sh b/.github/scripts/build-catalog.sh index 668c499369f..09670e56a81 100755 --- a/.github/scripts/build-catalog.sh +++ b/.github/scripts/build-catalog.sh @@ -96,7 +96,7 @@ patch_apps() { touch "website/docs/charts/${train}/${chartname}/CHANGELOG.md" fi cp -rf "website/docs/charts/${train}/${chartname}/CHANGELOG.md" "${target}/CHANGELOG.md" 2>/dev/null || : - if [[ grep -q "for the complete changelog, please refer to the website" "${target}/CHANGELOG.md" ]]; then + if grep -q "for the complete changelog, please refer to the website" "${target}/CHANGELOG.md"; then echo "Adding changelog notice for: ${chartname}" # Count the frontmatter lines line_count=$(sed -n '/^---$/,/^---$/p' "${target}/CHANGELOG.md" | wc -l) diff --git a/.github/workflows/charts-release.yaml b/.github/workflows/charts-release.yaml index 46ad3263ea3..0d13c15010c 100644 --- a/.github/workflows/charts-release.yaml +++ b/.github/workflows/charts-release.yaml @@ -211,7 +211,7 @@ jobs: # Append SCALE changelog to actual changelog sed -i '1d' "website/docs/charts/${train}/${chart}/CHANGELOG.md" || echo "failed to sed 1d changelog..." cat "charts/${train}/${chart}/app-changelog.md" | cat - "website/docs/charts/${train}/${chart}/CHANGELOG.md" > temp && mv temp "website/docs/charts/${train}/${chart}/CHANGELOG.md" - if [[ grep -q "---\ntitle: Changelog\n---\n\n" "website/docs/charts/${train}/${chart}/CHANGELOG.md" ]]; then + if grep -q "---\ntitle: Changelog\n---\n\n" "website/docs/charts/${train}/${chart}/CHANGELOG.md"; then echo "changelog header already exists..." else echo "Adding changelog header..." diff --git a/charts/stable/sonarr/Chart.yaml b/charts/stable/sonarr/Chart.yaml index 749d5474f09..11f0f4dc0c5 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.8 +version: 19.0.9 appVersion: 4.0.0.741 description: Smart PVR for newsgroup and bittorrent users home: https://truecharts.org/charts/stable/sonarr