-
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
Future release blog post improvements #156
Comments
cc @nodejs/release |
For v4.0.0 I did the reverse and generated the post before the release, perhaps it's a special case because I did a writeup in there as well and maybe it'll be useful to generate this after the release is cut. We edit the changelog on the stable branch we're releasing for and then cherry-pick that back to master, I'd like to see this be a normal part of the release procedure so we should be able to assume that master has an updated changelog but for safety I think fetching it from the tag of the release would be better, e.g.: https://github.com/nodejs/node/blob/v4.0.0/CHANGELOG.md - that way you don't need to know what branch we're on ( |
Thanks! Will change it to fetch changelog from the tag instead. Is it safe to assume that |
that file is updated as soon as the person releasing has run the release commands |
Alright... Added the ability to specify version with an argument aswell, just in case you or someone else wants to create the post before the version has been released again. Created a PR to fix what has come up so far, although I'm all ears about more improvements. |
@phillipj ok so... I want to add a little blog bit to the changelog this week too, if possible. Do I just run this before the release? Do the binaries have to be in /dist/ first? ....? |
@Fishrock123 yes, adding content by hand is absolutely possible. The last step (c) in the flow results in a file being created
No, the binaries themselfs are not verified. Although the list of shasums is fetched from I could easily avoid that crash and leave a placeholder for you to insert shasums manually instead? |
* Added explicit version argument in case one wants to create the blog post *before* the version has been released. * Fetch changelog from nodejs/node repo tag rather than master as it's more likely to have the correct changelog in place. * Leave [INSERT SHASHUMS HERE] if shasums could not be found on nodejs.org/dist. Will happen if one are creating the blog post before having released a new version of node. Refs nodejs#156.
Just pushed a fix with a placeholder instead of crashing due to invalid shasums, making it easier to create these posts before releasing a new version. Did the script provide any value to you while releasing v4.1.0 @Fishrock123? |
It was too late by the time the builds were done so @rvagg did the blog part.
|
Alright. I'll merge the changes I've done so far in #164 to be ready for future releases. |
here's an improvement I'd like @phillipj, I'd code this up myself if I had time, perhaps I will if nobody else gets to it by the time I get frustrated enough to do it: check to see if all of the binaries are available before putting links to them. This could either be done by doing a HEAD request to their respective URLs or even just parsing the SHASUMS256.txt contents. Where they don't exist on the server replace their links with "Coming soon". This should normally only apply to ARMv6 builds but has been common enough when doing io.js builds that it's been standard practice to not wait for them before promoting the release. |
Sure thing @rvagg! So to avoid confusion; all the files will be listed in SHASUMS256.txt, but they might not be available on /dist/ yet? And how should this affect the list of files when you are running the script before the release, meaning SHASUMS256.txt wont exist either? |
SHASUMS256.txt will reflect what's in /dist/, it's taken directly from that directory so it'll always be accurate. re doing this before a release, I'm not really sure how best to handle that because it's such a different workflow. How about for now we optimise for the run-after-release case and adapt later if it gets in the way. |
Where does the author field come from? I thought the release notes were automated? |
It will be automated soon, I'm working on it. On Thursday, 8 October 2015, Mikeal Rogers notifications@github.com wrote:
|
Closing this issue for now as all tasks has been completed and merged. Open separate issues for further improvements. |
Just before node v4 got released, a script (scripts/release-post.js) for automatically creating release blog post (locale/en/blog/release/v4.0.0.md) was created in #88, atleast a first draft of it.
I would like to create a list of tasks to further improve that script, but it requires feedback about the current state of it.
##
header from changelogAuthor: <full name>
in blog header, see #186 comment for hintsMost importantly: was it useful at all while releasing v4 @rvagg? If not, what has to change?
Current flow
There were some assumptions made about how the latest version number should be resolved, what changelog too use etc.
Changelog
One thing I got curious about while observing the release, was which changelog should be used. It didnt look the v4's changelog got merged into master at the time of creating the release blog post, therefore the changelog retrieval would probably fail due to version mismatch.
What would be best approach? (1) from the release proposal v4.0.0 or (2) v4.x tagged changelog?
Any other thoughts?
The text was updated successfully, but these errors were encountered: