chore: update release notes draft gen (#2932)
This commit is contained in:
parent
6d94c92053
commit
0346c3a1dc
|
|
@ -8,27 +8,32 @@ cd "$(dirname $0)"
|
||||||
git fetch --tags git@github.com:microsoft/playwright.git >/dev/null 2>/dev/null
|
git fetch --tags git@github.com:microsoft/playwright.git >/dev/null 2>/dev/null
|
||||||
LAST_RELEASE=$(git describe --tags $(git rev-list --tags --max-count=1))
|
LAST_RELEASE=$(git describe --tags $(git rev-list --tags --max-count=1))
|
||||||
|
|
||||||
echo "## Browser Versions"
|
|
||||||
echo
|
|
||||||
node ./print_versions.js
|
|
||||||
echo
|
|
||||||
echo "## Highlights"
|
echo "## Highlights"
|
||||||
echo
|
echo
|
||||||
echo "TODO: \`git diff ${LAST_RELEASE}:docs/api.md docs/api.md\`"
|
echo "TODO: \`git diff ${LAST_RELEASE}:docs/api.md docs/api.md\`"
|
||||||
echo
|
echo
|
||||||
echo "## Breaking API Changes"
|
echo "## Browser Versions"
|
||||||
echo
|
echo
|
||||||
echo "TODO: \`git diff ${LAST_RELEASE}:docs/api.md docs/api.md\`"
|
node ./print_versions.js
|
||||||
echo
|
echo
|
||||||
echo "## New APIs"
|
echo "## New APIs"
|
||||||
echo
|
echo
|
||||||
echo "TODO: \`git diff ${LAST_RELEASE}:docs/api.md docs/api.md\`"
|
echo "TODO: \`git diff ${LAST_RELEASE}:docs/api.md docs/api.md\`"
|
||||||
echo
|
echo
|
||||||
echo "## Bug Fixes"
|
CLOSED_ISSUES=$(./list_closed_issues.sh "${LAST_RELEASE}")
|
||||||
|
ISSUES_COUNT=$(echo "${CLOSED_ISSUES}" | wc -l | xargs)
|
||||||
|
echo "<details>"
|
||||||
|
echo " <summary><b>Issues Closed (${ISSUES_COUNT})</b></summary>"
|
||||||
echo
|
echo
|
||||||
./list_closed_issues.sh "${LAST_RELEASE}"
|
echo "${CLOSED_ISSUES}"
|
||||||
echo
|
echo
|
||||||
echo "## Raw Notes"
|
echo "</details>"
|
||||||
echo
|
|
||||||
git log --pretty="%h - %s" "${LAST_RELEASE}"..HEAD
|
|
||||||
|
|
||||||
|
COMMITS=$(git log --pretty="%h - %s" "${LAST_RELEASE}"..HEAD)
|
||||||
|
COMMITS_COUNT=$(echo "${COMMITS}" | wc -l | xargs)
|
||||||
|
echo "<details>"
|
||||||
|
echo " <summary><b>Commits (${COMMITS_COUNT})</b></summary>"
|
||||||
|
echo
|
||||||
|
echo "${COMMITS}"
|
||||||
|
echo
|
||||||
|
echo "</details>"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue