mirror of
https://gitea.com/actions/gitea-release-action.git
synced 2026-08-21 16:13:06 +01:00
URL Encode tag name in getReleaseByTag
This commit is contained in:
2
main.js
2
main.js
@@ -73,7 +73,7 @@ async function createOrGetRelease(client, owner, repo, body) {
|
||||
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