-
Notifications
You must be signed in to change notification settings - Fork 6.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
Resolved full name of release author in release blog #231
Conversation
Looks like there's a failure in the slug test. |
Great! Didnt touch that code at all, and it passed after a couple of Travis restarts. Dont see any apparent reason for it to be unstable, we'll have keep an eye on that slug test. |
weird, should probably log another issue for that test being flaky. |
// matches a complete release section, | ||
// support release sections with headers like: | ||
// ## 2015-09-22, Version 4.1.1 (Stable), @rvagg | ||
const rxSection = new RegExp(`## \\d{4}-\\d{2}-\\d{2}, Version ${version} \\(Stable\\)[\\s\\S]*?(?=## \\d{4})`) |
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.
We're going to need to extend this, it'll include "LTS" and "Maintenance" too. Perhaps just \\([^\\)]+\\)
would do.
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.
Sure thing! Just pushed an update.
In our release blog posts, we want to display the full name of the dev who cut the release, instead of the github login such as `rvagg` or `Fishrock123`. These changes fixes that by resolving the full name via github's API, based on their github login specified in the in the changelog.
c886853
to
2ea83da
Compare
Adds support for various version policies (ex Stable/LTS/etc) aswell as version codenames (ex Argon).
@nodejs/release I just pushed an update to this PR, supporting version policy and codename aswell, as a response to #239. Also removed version policy from the blog post slug, as I dont see the big value of it, other adding more complexity into this script. Agreed @nodejs/website? |
Merging this now so author will be part of the next release post. |
Resolved full name of release author in release blog
In our release blog posts, we want to display the full name of the dev who cut the release, instead of the github login such as
rvagg
orFishrock123
. This was proposed by @rvagg in #186 comment.These changes fixes that by resolving the full name via github's API, based on their github login specified in the changelog.
Also did some refactoring of some hairy changelog regex matching, to something a bit less complex and readable.
Refs #156.
/cc @nodejs/release