chore(scripts): fix more
This commit is contained in:
@@ -209,13 +209,12 @@ jobs:
|
|||||||
|
|
||||||
echo "Appending SCALE changelog to actual changelog..."
|
echo "Appending SCALE changelog to actual changelog..."
|
||||||
# Append SCALE changelog to actual changelog
|
# Append SCALE changelog to actual changelog
|
||||||
|
# Remove header from changelog
|
||||||
|
sed -n '/^---$/,/^---$/p' "website/docs/charts/${train}/${chart}/CHANGELOG.md"
|
||||||
|
# Append app-changelog to 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"
|
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 -qzoP "\-\-\-\ntitle: Changelog\n\-\-\-\n" "website/docs/charts/${train}/${chart}/CHANGELOG.md"; then
|
echo "Adding changelog header..."
|
||||||
echo "changelog header already exists..."
|
sed -i '1s/^/---\ntitle: Changelog\n---\n\n/' "website/docs/charts/${train}/${chart}/CHANGELOG.md" || echo "failed to add changelog header..."
|
||||||
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..."
|
echo "Creating index.md..."
|
||||||
touch website/docs/charts/${train}/${chart}/index.md
|
touch website/docs/charts/${train}/${chart}/index.md
|
||||||
|
|||||||
@@ -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.17
|
version: 19.0.18
|
||||||
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