diff --git a/lib/main.js b/lib/main.js index 6a33c9e..a9cae47 100644 --- a/lib/main.js +++ b/lib/main.js @@ -80,8 +80,8 @@ async function run() { tagMsg = changelog.data.commits.map(commit => `**1) ${commit.commit.message}**${commit.hasOwnProperty('author') ? (commit.author.hasOwnProperty('login') ? ' (' + commit.author.login + ')' : '') : ''}\n(SHA: ${commit.sha})\n`).join('\n') } catch (e) { - core.setFailed(e.message) - return + core.warning('Failed to generate changelog from commits: ' + e.message) + tagMsg = `${tagPrefix}${tagName}${tagSuffix}` } }