build: upload node checksums before validating them (#38710)
This commit is contained in:
parent
38dc43f649
commit
12b85a77a8
1 changed files with 1 additions and 1 deletions
|
@ -354,6 +354,7 @@ async function makeRelease (releaseToValidate) {
|
||||||
await validateReleaseAssets(release, true);
|
await validateReleaseAssets(release, true);
|
||||||
} else {
|
} else {
|
||||||
let draftRelease = await getDraftRelease();
|
let draftRelease = await getDraftRelease();
|
||||||
|
uploadNodeShasums();
|
||||||
await createReleaseShasums(draftRelease);
|
await createReleaseShasums(draftRelease);
|
||||||
|
|
||||||
// Fetch latest version of release before verifying
|
// Fetch latest version of release before verifying
|
||||||
|
@ -364,7 +365,6 @@ async function makeRelease (releaseToValidate) {
|
||||||
// which fails to publish. It has to be done before the final
|
// which fails to publish. It has to be done before the final
|
||||||
// publish to ensure there aren't published releases not contained
|
// publish to ensure there aren't published releases not contained
|
||||||
// in index.json, which causes other problems in downstream projects
|
// in index.json, which causes other problems in downstream projects
|
||||||
uploadNodeShasums();
|
|
||||||
uploadIndexJson();
|
uploadIndexJson();
|
||||||
await publishRelease(draftRelease);
|
await publishRelease(draftRelease);
|
||||||
console.log(`${pass} SUCCESS!!! Release has been published. Please run ` +
|
console.log(`${pass} SUCCESS!!! Release has been published. Please run ` +
|
||||||
|
|
Loading…
Reference in a new issue