mirror of
https://github.com/ButlerLogic/action-autotag.git
synced 2024-11-22 08:11:07 +07:00
Update main.js
This commit is contained in:
parent
33b2b26e4c
commit
96dacb6ce3
@ -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}`
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user