diff --git a/.github/workflows/publish-release.js b/.github/workflows/publish-release.js index 0b7d78f..9f299dc 100644 --- a/.github/workflows/publish-release.js +++ b/.github/workflows/publish-release.js @@ -42,8 +42,6 @@ module.exports = /*async*/ ({github, context, core}) => { core.setFailed(`Could not find milestone '${version}'.`) return } - console.log('MILESTONE') - console.log(milestone) if (milestone.state != "open") { core.setFailed(`Milestone '${version}' is already closed.`) return @@ -78,7 +76,8 @@ module.exports = /*async*/ ({github, context, core}) => { const refs = await restapi.git.listMatchingRefs({ owner: context.repo.owner, repo: context.repo.repo, - ref: 'tags/' + tag + //ref: 'tags/' + tag + ref: 'tags/wip' }) console.log(refs) core.setFailed(`Tag '${tag}' already exists.`)