From bf88328bdc91b63d9d2f1de20399217b0b404559 Mon Sep 17 00:00:00 2001 From: Richard Lau Date: Fri, 15 Oct 2021 14:53:06 +0100 Subject: [PATCH] doc: add updating expected assets to release guide MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a section to the Major Releases section of the release guide to cover updating the list of expected files for the promotion tool. PR-URL: https://github.com/nodejs/node/pull/40470 Reviewed-By: Michaƫl Zasso Reviewed-By: Beth Griggs --- doc/guides/releases.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/guides/releases.md b/doc/guides/releases.md index 11c9a826fee237..72a449aeb339b7 100644 --- a/doc/guides/releases.md +++ b/doc/guides/releases.md @@ -900,6 +900,15 @@ test, or doc-related are to be listed as notable changes. Some SEMVER-MINOR commits may be listed as notable changes on a case-by-case basis. Use your judgment there. +### Update the expected assets + +The promotion script does a basic check that the expected files are present. +Open a pull request in the Build repository to add the list of expected files +for the new release line as a new file, `v{N}.x` (where `{N}` is the major +version of the release), in the [expected assets][] folder. The change will +need to be deployed onto the web server by a member of the [build-infra team][] +before the release is promoted. + ### Snap The Node.js [Snap][] package has a "default" for installs where the user hasn't @@ -914,5 +923,7 @@ take place once a new LTS line has been released. [Node.js Snap management repository]: https://github.com/nodejs/snap [Partner Communities]: https://github.com/nodejs/community-committee/blob/HEAD/governance/PARTNER_COMMUNITIES.md [Snap]: https://snapcraft.io/node +[build-infra team]: https://github.com/orgs/nodejs/teams/build-infra +[expected assets]: https://github.com/nodejs/build/tree/HEAD/ansible/www-standalone/tools/promote/expected_assets [nodejs.org release-post.js script]: https://github.com/nodejs/nodejs.org/blob/HEAD/scripts/release-post.js [nodejs.org repository]: https://github.com/nodejs/nodejs.org