chore: Highlight new contributors in release notes #528
No reviewers
Labels
No labels
Compat/Breaking
Kind
Bad merge
Kind
Bug
Kind
Documentation
Kind
Enhancement
Kind
Feature
Kind
New language
Kind
Security
Kind
Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: mergiraf/mergiraf#528
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "wetneb/highlight_new_contributors"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It adds something like this to the release notes (for 0.13.0 as an example):
Good idea!
@ -22,0 +24,4 @@
{% if gitea.contributors | filter(attribute="is_first_time", value=true) | length != 0 %}
## 🎉 New contributors
{% endif %}\
{% for contributor in gitea.contributors | filter(attribute="is_first_time", value=true) %}
The diff does looks sensible, but I wish there was a way to do a test release and see how it actually renders out. I guess we could actually create some sort of a UI test by running git-cliff on a pre-defined revision range, and checking if its new output (after a given PR) still makes sense
You can just run
git-cliff --latest
locally from the PR branch to see the result. It's what the CI runs for the release.Hmm I realize the heading is a bit too big (see the updated release notes for 0.13.0), I'll rather bring it to the same level as the commit categories.
Thanks for the tip! That's good to know