You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix: use readableWebStream() to stream asset contents This allows the uploads to finish without mismatched Content-Length, likely because the original method implied a wrong body encoding or something similar. Unfortunately a GitHub server API mock was not readily available so I had to test manually with a barebones repository. Fixes: #555Fixes: #556 Signed-off-by: WANG Xuerui <git@xen0n.name> * feat: log when each asset is successfully uploaded Signed-off-by: WANG Xuerui <git@xen0n.name> * build: refresh dist Signed-off-by: WANG Xuerui <git@xen0n.name> * style: format with prettier Signed-off-by: WANG Xuerui <git@xen0n.name> --------- Signed-off-by: WANG Xuerui <git@xen0n.name>
// note: GitHub renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The "List release assets" endpoint lists the renamed filenames.
167
166
// due to this renaming we need to be mindful when we compare the file name we're uploading with a name github may already have rewritten for logical comparison
0 commit comments