mirror of
https://gitea.com/actions/gitea-release-action.git
synced 2026-09-03 13:09:11 +00:00
Add debugging to ensure tag name is encoded
This commit is contained in:
parent
820f757c04
commit
c6c0c1709a
1
main.js
1
main.js
@ -70,6 +70,7 @@ async function run() {
|
|||||||
*/
|
*/
|
||||||
async function createOrGetRelease(client, owner, repo, body) {
|
async function createOrGetRelease(client, owner, repo, body) {
|
||||||
try {
|
try {
|
||||||
|
console.log(`Checking for existing release at ${encodeURIComponent(body.tag)}`);
|
||||||
let release = await client.repository.repoGetReleaseByTag({
|
let release = await client.repository.repoGetReleaseByTag({
|
||||||
owner: owner,
|
owner: owner,
|
||||||
repo: repo,
|
repo: repo,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user