chore(scripts): fix more
This commit is contained in:
@@ -210,7 +210,7 @@ jobs:
|
||||
echo "Appending SCALE changelog to actual changelog..."
|
||||
# Append SCALE changelog to actual 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 -qzoP "\-\-\-\ntitle: Changelog\n\-\-\-\n" "website/docs/charts/${train}/${chart}/CHANGELOG.md"; then
|
||||
echo "changelog header already exists..."
|
||||
else
|
||||
echo "Adding changelog header..."
|
||||
|
||||
Reference in New Issue
Block a user