diff --git a/src/windUpJob.task.js b/src/windUpJob.task.js index 89a33e5..07a3bbf 100644 --- a/src/windUpJob.task.js +++ b/src/windUpJob.task.js @@ -27,7 +27,7 @@ module.exports = async (result) => { core.setOutput(outputs.last_release_git_tag, lastRelease.gitTag); } - if (!nextRelease) { + if (!nextRelease?.version) { core.debug('No release published.'); return; }