chore(sonarr): bump

This commit is contained in:
Stavros kois
2023-12-31 19:29:04 +02:00
parent a3c451916d
commit d9283f4828
4 changed files with 8 additions and 6 deletions
+6 -1
View File
@@ -211,7 +211,12 @@ 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"
sed -i '1s/^/---\ntitle: Changelog\n---\n\n/' "website/docs/charts/${train}/${chart}/CHANGELOG.md" || echo "failed to add changelog header..."
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..."
sed -i '1s/^/---\ntitle: Changelog\n---\n\n/' "website/docs/charts/${train}/${chart}/CHANGELOG.md" || echo "failed to add changelog header..."
fi
echo "Creating index.md..."
touch website/docs/charts/${train}/${chart}/index.md