diff --git a/script/release.js b/script/release.js index 2e7be685ad04..7f7fe61c903f 100755 --- a/script/release.js +++ b/script/release.js @@ -221,7 +221,7 @@ async function uploadShasumFile (filePath, fileName, releaseId) { url: uploadUrl, headers: { 'content-type': 'text/plain', - 'content-length': fs.statSync(filePath).size + 'content-size': fs.statSync(filePath).size }, file: fs.createReadStream(filePath), name: fileName