-
Notifications
You must be signed in to change notification settings - Fork 166
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
Update expected assets for v10.x and add v14.x #2278
Conversation
`docs/apilinks.json` was added in v10.15.3. Refs: nodejs/node#25019 Refs: nodejs#1673 Signed-off-by: Richard Lau <riclau@uk.ibm.com>
Signed-off-by: Richard Lau <riclau@uk.ibm.com>
@BethGriggs can you confirm you're getting a warning when releasing for apilinks.json being there when it shouldn't? Running this on the server and pretending that the dist directory is the staging directory, which is not going to be exactly what the releaser sees ("already promoted") but does show the unexpected apilinks.json:
|
@rvagg yes I remember querying this warning last year and being told the release was good to promote (cannot remember the medium, GitHub/IRC). Since then it has become BAU expecting it (just assuming it was a v10.x quirk) and with v10.x releases having a larger cadence it looks like I dropped the ball on updating the expected assets, sorry! Will raise PR's/issues for any future warnings so they don't fall into the trap of becoming BAU again. |
Thanks @BethGriggs, good to know it works at least. We may need to wait for resolution on |
FWIW this is what I see today:
I think this is both a timing issue and that I didn't pull nodejs/node#32728 into the v10.20.0 rebuild v10.20.1 means |
Yes, manually removing that file will be fine. |
Ran the following: dist@infra-digitalocean-ubuntu1604-x64-1:/home/staging/nodejs/release/v10.20.1$ ls -al docs/previous-versions.json
-rw-rw-r-- 1 staging staging 201 Apr 12 12:00 docs/previous-versions.json
dist@infra-digitalocean-ubuntu1604-x64-1:/home/staging/nodejs/release/v10.20.1$ rm docs/previous-versions.json Now get the following, as expected until this is merged:
|
When I promoted 14.x this didn't seem to take effect - does a clone somewhere need to be updated?
|
whoops, it's one thing to change it here, it's another to have it changed on the server! I've synced that directory now and it should be good for future releases |
Tests needed to be updated after `docs/apilinks.json` was added to the expected assets for `v10.x`. Refs: nodejs#2278
Tests needed to be updated after `docs/apilinks.json` was added to the expected assets for `v10.x`. Refs: #2278
docs/apilinks.json
was added in v10.15.3.Refs: tools: make apilinks building more robust node#25019
Refs: assets: additional asset for v11.x #1673
Add expected assets for v14.x, based on v13.x/v12.x.
cc @nodejs/releasers