From 12b85a77a8e008f96dce09ef4fcdb8d796154751 Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Fri, 9 Jun 2023 02:30:26 -0700 Subject: [PATCH] build: upload node checksums before validating them (#38710) --- script/release/release.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/release/release.js b/script/release/release.js index efa9b0a0739e..b12da0f0298b 100755 --- a/script/release/release.js +++ b/script/release/release.js @@ -354,6 +354,7 @@ async function makeRelease (releaseToValidate) { await validateReleaseAssets(release, true); } else { let draftRelease = await getDraftRelease(); + uploadNodeShasums(); await createReleaseShasums(draftRelease); // 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 // publish to ensure there aren't published releases not contained // in index.json, which causes other problems in downstream projects - uploadNodeShasums(); uploadIndexJson(); await publishRelease(draftRelease); console.log(`${pass} SUCCESS!!! Release has been published. Please run ` +