mirror of
https://gitea.com/actions/gitea-release-action.git
synced 2024-11-10 02:11:07 +07:00
fix wrong var name
This commit is contained in:
parent
3ac6d530d3
commit
f6b3ef8321
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 New Issue
Block a user