forked from phoedos/pmd
Automatically reset the release notes
This commit is contained in:
parent
9e86b00968
commit
32c34d43cb
@ -127,9 +127,13 @@ echo
|
|||||||
echo "Prepare Next development version:"
|
echo "Prepare Next development version:"
|
||||||
echo "* Move version/release info from **docs/pages/release_notes.md** to **docs/pages/release_notes_old.md**."
|
echo "* Move version/release info from **docs/pages/release_notes.md** to **docs/pages/release_notes_old.md**."
|
||||||
echo "* Update version/date info in **docs/_config.yml**."
|
echo "* Update version/date info in **docs/_config.yml**."
|
||||||
echo "* Update version/release info in **docs/pages/release_notes.md**."
|
|
||||||
echo
|
echo
|
||||||
cat <<EOF
|
echo
|
||||||
|
echo "Press enter to continue..."
|
||||||
|
read
|
||||||
|
|
||||||
|
# reset release notes template
|
||||||
|
cat > docs/pages/release_notes.md <<EOF
|
||||||
---
|
---
|
||||||
title: PMD Release Notes
|
title: PMD Release Notes
|
||||||
permalink: pmd_release_notes.html
|
permalink: pmd_release_notes.html
|
||||||
@ -158,9 +162,7 @@ This is a minor release.
|
|||||||
### External Contributions
|
### External Contributions
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
echo
|
|
||||||
echo "Press enter to continue..."
|
|
||||||
read
|
|
||||||
./mvwn release:clean
|
./mvwn release:clean
|
||||||
git commit -a -m "Prepare next development version"
|
git commit -a -m "Prepare next development version"
|
||||||
git push origin ${CURRENT_BRANCH}
|
git push origin ${CURRENT_BRANCH}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user