URL Encode tag name in getReleaseByTag

This commit is contained in:
J.P. Krauss
2026-03-21 05:37:25 -07:00
committed by GitHub
parent 4875285c09
commit 820f757c04

View File

@@ -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;