Update main.js

This commit is contained in:
Corey Butler 2019-09-18 17:48:16 -05:00 committed by GitHub
parent 33b2b26e4c
commit 96dacb6ce3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}`
}
}