chore(sonarr): bump
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user