зеркало из https://github.com/electron/electron.git
build: get all the release assets when looking for one to delete (#20157)
* build: get all the release assets when looking for one to delete yeah we totally have more than 30.... * Update upload-to-github.js
This commit is contained in:
Родитель
6e9a23a884
Коммит
d395799917
|
@ -53,7 +53,8 @@ function uploadToGitHub () {
|
|||
octokit.repos.listAssetsForRelease({
|
||||
owner: 'electron',
|
||||
repo: targetRepo,
|
||||
release_id: releaseId
|
||||
release_id: releaseId,
|
||||
per_page: 100
|
||||
}).then(assets => {
|
||||
console.log('Got list of assets for existing release:')
|
||||
console.log(JSON.stringify(assets.data, null, ' '))
|
||||
|
|
Загрузка…
Ссылка в новой задаче