From 96dacb6ce3be393557d67af86af1bc3d90513e53 Mon Sep 17 00:00:00 2001 From: Corey Butler Date: Wed, 18 Sep 2019 17:48:16 -0500 Subject: [PATCH] Update main.js --- lib/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}` } }