-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: automate use of mkreleaselog #12199
Conversation
This is what the outputs looks like: filecoin-project/go-state-types (v0.14.0-rc1 -> v0.14.0-rc2)Others
Contributors
|
if [[ -z "$insertion_point" ]]; then | ||
cat release-notes.md >> CHANGELOG.md | ||
else |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this case might be better to fatally fail with than append to the tail
new_features=$(echo "$content" | grep -i '^- feat:' || true) | ||
improvements=$(echo "$content" | grep -i '^- fix:' || true) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it would be awesome to fit breaking changes into this too (feedback from @rjan90 @aarshkshah1992 @ZenGround0 would be good on whether they're comfortable with full CC style would be good):
new_features=$(echo "$content" | grep -i '^- feat:' || true) | |
improvements=$(echo "$content" | grep -i '^- fix:' || true) | |
new_features=$(echo "$content" | grep -i '^- feat:' || true) | |
improvements=$(echo "$content" | grep -i '^- fix:' || true) | |
breaking_changes=$(echo "$content" | grep -iE '^- [^:]+!:' || true) |
new_features=$(echo "$content" | grep -i '^- feat:' || true) | ||
improvements=$(echo "$content" | grep -i '^- fix:' || true) | ||
|
||
used=$(echo -e "$new_features\n$improvements") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
used=$(echo -e "$new_features\n$improvements") | |
used=$(echo -e "$new_features\n$improvements\n$breaking_changes") |
echo "$new_features" | ||
echo | ||
fi | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if [[ -n "$breaking_changes" ]]; then | |
echo "### Breaking Changes" | |
echo | |
echo "$breaking_changes" | |
echo | |
fi | |
#12096 now supersedes the exploration performed here. TLDR; we found it to be more efficient to combine the outputs of mkreleaselog + CHANGELOG.md entries to create proposed released notes. |
Related Issues
Fix #12162
Proposed Changes
Additional Info
💣 Setting this into draft and targeting @galargh's branch for now so we can sync on the work
Checklist
Before you mark the PR ready for review, please make sure that:
<PR type>: <area>: <change being made>
fix: mempool: Introduce a cache for valid signatures
PR type
: fix, feat, build, chore, ci, docs, perf, refactor, revert, style, testarea
, e.g. api, chain, state, mempool, multisig, networking, paych, proving, sealing, wallet, deps[skip changelog]
to the PR titleskip-changelog
to the PR