diff --git a/.github/workflows/publish-release.js b/.github/workflows/publish-release.js index a11a182..cffea76 100644 --- a/.github/workflows/publish-release.js +++ b/.github/workflows/publish-release.js @@ -49,6 +49,8 @@ module.exports = /*async*/ ({github, context, core}) => { repo: context.repo.repo, tag: tag }) + console.log('RELEASE') + console.log(release) if (release === null) { core.setFailed(`Could not find a GitHub release for tag '${tag}'.`) return @@ -63,7 +65,7 @@ module.exports = /*async*/ ({github, context, core}) => { core.setFailed(`Could not find a GitHub release for tag '${tag}'.`) return } - console.log(`Found yet-unpublished GitHub Release for tag '${tag}'.`) + console.log(`Found yet-unpublished GitHub release for tag '${tag}'.`) // tag must not exist const tagRefs = await restapi.git.listMatchingRefs({ diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index a58f477..8a38873 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -34,9 +34,6 @@ jobs: const scriptf = require('./.github/workflows/publish-release.js') const script = scriptf({github, context, core}) await script.validateRelease() - // rest should be in a different step - // await script.publishRelease() - // await script.closeMilestone() - name: Finalize GitHub release and milestone if: github.event.inputs.dryrun == false