diff --git a/script/release/release.js b/script/release/release.js index f4ca11af7b73..5ebd8614bfea 100755 --- a/script/release/release.js +++ b/script/release/release.js @@ -401,7 +401,7 @@ async function verifyDraftGitHubReleaseAssets (release) { throwHttpErrors: false }); - if (response.statusCode !== 200) { + if (response.statusCode !== 302 && response.statusCode !== 301) { console.error('Failed to HEAD github asset: ' + url); throw new Error('Unexpected status HEAD\'ing github asset: ' + response.statusCode); }