Skip to content

Commit 8f84626

Browse files
trop[bot]MarshallOfSound
authored andcommitted
build: get all the release assets when looking for one to delete (electron#20165)
* build: get all the release assets when looking for one to delete yeah we totally have more than 30.... * Update upload-to-github.js
1 parent 69d3a69 commit 8f84626

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

script/upload-to-github.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ function uploadToGitHub () {
5353
octokit.repos.listAssetsForRelease({
5454
owner: 'electron',
5555
repo: targetRepo,
56-
release_id: releaseId
56+
release_id: releaseId,
57+
per_page: 100
5758
}).then(assets => {
5859
console.log('Got list of assets for existing release:')
5960
console.log(JSON.stringify(assets.data, null, ' '))

0 commit comments

Comments
 (0)