未验证 提交 98610f88 编写于 作者: K kyle 提交者: GitHub

housekeeping: make release note generator more flexible (via #5266)

上级 c07877b4
echo '**Interface changes**: ???'
echo ''
echo '**Changelog**:'
./node_modules/.bin/conventional-changelog -p angular | tail -n +3
echo "_No release summary included._\n\n#### Changelog\n"
PREV_RELEASE_REF=$(git log --pretty=oneline | grep ' release: ' | head -n 2 | tail -n 1 | cut -f 1 -d " ")
git log --pretty=oneline $PREV_RELEASE_REF..HEAD | awk '{ $1=""; print}' | sed -e 's/^[ \t]*//' | sed 's/^feat/0,feat/' | sed 's/^improve/1,improve/' | sed 's/^fix/2,fix/'| sort | sed 's/^[0-2],//' | sed 's/^/* /'
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册