[doc] Replace jdoc tags in release_notes_pmd7 during release

This commit is contained in:
Andreas Dangel 2024-03-14 13:38:59 +01:00
parent 7668fe23d0
commit 17481f6b70
No known key found for this signature in database
GPG Key ID: 93450DF2DF9A3FA3

View File

@ -165,6 +165,9 @@ title: PMD ${RELEASE_VERSION} released
${NEW_RELEASE_NOTES}
EOF
echo "Prerendering release notes pmd 7..."
RELEASE_NOTES_PMD7=$(bundle exec docs/render_release_notes.rb docs/pages/release_notes_pmd7.md)
echo "Committing current changes (pmd)"
git commit -a -m "Prepare pmd release ${RELEASE_VERSION}"
@ -237,6 +240,9 @@ ${NEW_RELEASE_NOTES}
${OLD_RELEASE_NOTES}" > docs/pages/release_notes_old.md
# update release_notes_pmd7 with prerendered version (jdoc tags are replaced with released version)
echo "$RELEASE_NOTES_PMD7" > docs/pages/release_notes_pmd7.md
# reset release notes template
cat > docs/pages/release_notes.md <<EOF
---