mirror of
https://gitea.com/actions/gitea-release-action.git
synced 2024-11-21 17:49:38 +01:00
fix wrong var name
This commit is contained in:
parent
3ac6d530d3
commit
f6b3ef8321
1 changed files with 1 additions and 1 deletions
2
main.js
2
main.js
|
@ -109,7 +109,7 @@ async function uploadFiles(client, owner, repo, release_id, all_files) {
|
|||
await client.repository.repoDeleteReleaseAttachment({
|
||||
owner: owner,
|
||||
repo: repo,
|
||||
id: id,
|
||||
id: release_id,
|
||||
attachmentId: attachment.id,
|
||||
})
|
||||
console.log(`Successfully deleted old release attachment ${attachment.name}`)
|
||||
|
|
Loading…
Reference in a new issue