forked from phoedos/pmd
[doc] Replace jdoc tags in release_notes_pmd7 during release
This commit is contained in:
parent
7668fe23d0
commit
17481f6b70
@ -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
|
||||
---
|
||||
|
Loading…
x
Reference in New Issue
Block a user