mirror of
https://github.com/ButlerLogic/action-autotag.git
synced 2024-11-24 17:21:07 +07:00
commit
e79fa516bc
@ -91,7 +91,7 @@ async function run() {
|
||||
// Check for existance of tag and abort (short circuit) if it already exists.
|
||||
for (let tag of tags.data) {
|
||||
if (tag.name === getTagName(pkg.version)) {
|
||||
core.warning(`"${tag.name.trim()}" tag already exists.`)
|
||||
core.info(`"${tag.name.trim()}" tag already exists.`)
|
||||
core.setOutput('tagname', '')
|
||||
return
|
||||
}
|
||||
@ -124,7 +124,7 @@ async function run() {
|
||||
)
|
||||
.join('\n')
|
||||
} catch (e) {
|
||||
core.warning('Failed to generate changelog from commits: ' + e.message)
|
||||
core.info('Failed to generate changelog from commits: ' + e.message)
|
||||
tagMsg = tagName
|
||||
}
|
||||
}
|
||||
@ -141,7 +141,7 @@ async function run() {
|
||||
type: 'commit',
|
||||
})
|
||||
|
||||
core.warning(`Created new tag: ${newTag.data.tag}`)
|
||||
core.info(`Created new tag: ${newTag.data.tag}`)
|
||||
} catch (e) {
|
||||
core.setFailed(e.message)
|
||||
return
|
||||
@ -155,7 +155,7 @@ async function run() {
|
||||
sha: newTag.data.sha,
|
||||
})
|
||||
|
||||
core.warning(`Reference ${newReference.data.ref} available at ${newReference.data.url}`)
|
||||
core.info(`Reference ${newReference.data.ref} available at ${newReference.data.url}`)
|
||||
} catch (e) {
|
||||
core.warning({
|
||||
...repo,
|
||||
|
Loading…
Reference in New Issue
Block a user