mirror of
https://gitea.com/actions/gitea-release-action.git
synced 2026-10-18 06:57:30 +07:00
Update Package
This commit is contained in:
1 parent
c6c0c1709a
commit
fad97e6094
2 files changed
+3
-1
No files matched your search
Vendored
+2
-1
@@ -48206,10 +48206,11 @@ async function run() {
|
||||
*/
|
||||
async function createOrGetRelease(client, owner, repo, body) {
|
||||
try {
|
||||
console.log(`Checking for existing release at ${encodeURIComponent(body.tag)}`);
|
||||
let release = await client.repository.repoGetReleaseByTag({
|
||||
owner: owner,
|
||||
repo: repo,
|
||||
tag: body.tag_name,
|
||||
tag: encodeURIComponent(body.tag_name),
|
||||
})
|
||||
const release_id = release.id;
|
||||
let target_commitish = release.target_commitish;
|
||||
|
||||
Reference in new issue
Block a user