chore(scripts): fix more

This commit is contained in:
Stavros kois
2023-12-31 20:25:13 +02:00
parent d85f607390
commit 5384582590
3 changed files with 4 additions and 4 deletions
+1 -2
View File
@@ -209,9 +209,8 @@ jobs:
echo "Appending SCALE changelog to actual changelog..."
# 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..."