Skip to content

Commit 2994f1e

Browse files
committed
try data instead of file in release task
1 parent 9add70a commit 2994f1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gulp.d/tasks/release.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ module.exports = (dest, bundleName, owner, repo, token, updateBranch) => async (
9393
.then((result) => result.data.upload_url)
9494
await octokit.repos.uploadReleaseAsset({
9595
url: uploadUrl,
96-
file: fs.createReadStream(bundleFile),
96+
data: fs.createReadStream(bundleFile),
9797
name: bundleFileBasename,
9898
headers: {
9999
'content-length': (await fs.stat(bundleFile)).size,

0 commit comments

Comments
 (0)