chore(sonarr): bump
This commit is contained in:
@@ -96,8 +96,7 @@ patch_apps() {
|
|||||||
touch "website/docs/charts/${train}/${chartname}/CHANGELOG.md"
|
touch "website/docs/charts/${train}/${chartname}/CHANGELOG.md"
|
||||||
fi
|
fi
|
||||||
cp -rf "website/docs/charts/${train}/${chartname}/CHANGELOG.md" "${target}/CHANGELOG.md" 2>/dev/null || :
|
cp -rf "website/docs/charts/${train}/${chartname}/CHANGELOG.md" "${target}/CHANGELOG.md" 2>/dev/null || :
|
||||||
should_add=$(cat ${target}/CHANGELOG.md | grep "for the complete changelog, please refer to the website")
|
if [[ grep -q "for the complete changelog, please refer to the website" ${target}/CHANGELOG.md ]]; then
|
||||||
if [[ -z $should_add ]]; then
|
|
||||||
echo "Adding changelog notice for: ${chartname}"
|
echo "Adding changelog notice for: ${chartname}"
|
||||||
# Count the frontmatter lines
|
# Count the frontmatter lines
|
||||||
line_count=$(sed -n '/^---$/,/^---$/p' "${target}/CHANGELOG.md" | wc -l)
|
line_count=$(sed -n '/^---$/,/^---$/p' "${target}/CHANGELOG.md" | wc -l)
|
||||||
@@ -107,6 +106,7 @@ patch_apps() {
|
|||||||
sed -i "${line_count + 1}s/^/*for the complete changelog, please refer to the website*\n\n/" "${target}/CHANGELOG.md"
|
sed -i "${line_count + 1}s/^/*for the complete changelog, please refer to the website*\n\n/" "${target}/CHANGELOG.md"
|
||||||
sed -i "${line_count + 1}s/^/**Important:**\n/" "${target}/CHANGELOG.md"
|
sed -i "${line_count + 1}s/^/**Important:**\n/" "${target}/CHANGELOG.md"
|
||||||
fi
|
fi
|
||||||
|
echo "Truncating changelog for: ${chartname}"
|
||||||
# Truncate changelog to only contain the last 100 lines
|
# Truncate changelog to only contain the last 100 lines
|
||||||
sed -i '100,$ d' "${target}/CHANGELOG.md" || :
|
sed -i '100,$ d' "${target}/CHANGELOG.md" || :
|
||||||
# Generate SCALE App description file
|
# Generate SCALE App description file
|
||||||
@@ -118,6 +118,7 @@ patch_apps() {
|
|||||||
echo "" >> ${target}/app-readme.md
|
echo "" >> ${target}/app-readme.md
|
||||||
echo "TrueCharts can only exist due to the incredible effort of our staff." >> ${target}/app-readme.md
|
echo "TrueCharts can only exist due to the incredible effort of our staff." >> ${target}/app-readme.md
|
||||||
echo "Please consider making a [donation](https://truecharts.org/sponsor) or contributing back to the project any way you can!" >> ${target}/app-readme.md
|
echo "Please consider making a [donation](https://truecharts.org/sponsor) or contributing back to the project any way you can!" >> ${target}/app-readme.md
|
||||||
|
echo "app-readme generated"
|
||||||
}
|
}
|
||||||
export -f patch_apps
|
export -f patch_apps
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
kubeVersion: '>=1.24.0-0'
|
kubeVersion: '>=1.24.0-0'
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: sonarr
|
name: sonarr
|
||||||
version: 19.0.6
|
version: 19.0.7
|
||||||
appVersion: 4.0.0.741
|
appVersion: 4.0.0.741
|
||||||
description: Smart PVR for newsgroup and bittorrent users
|
description: Smart PVR for newsgroup and bittorrent users
|
||||||
home: https://truecharts.org/charts/stable/sonarr
|
home: https://truecharts.org/charts/stable/sonarr
|
||||||
|
|||||||
Reference in New Issue
Block a user