Skip to content
This repository was archived by the owner on Feb 27, 2019. It is now read-only.

Commit f4129d3

Browse files
committed
log github upload responses
1 parent 3a8d41f commit f4129d3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/upload.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,9 @@ combinations.full().forEach(options => {
5656
const fileName = `${options.framework}-${options.modules}-${options.js}-${options.css}-${options.router}-${options.sample}.zip`;
5757
const combinationPath = path.join(__dirname, `../dist/${fileName}`);
5858

59-
githubUploadRequest(`/releases/${tag.id}/assets?name=${fileName}`, {
59+
const uploadResponse = githubUploadRequest(`/releases/${tag.id}/assets?name=${fileName}`, {
6060
method: 'POST',
6161
filePath: combinationPath
6262
});
63+
console.log('Upload response', uploadResponse);
6364
});

0 commit comments

Comments
 (0)