From 39667b74efc6a36c4f32e831fa05dbc8ecf794d5 Mon Sep 17 00:00:00 2001 From: Corey Butler Date: Sun, 26 Jan 2020 21:02:56 -0600 Subject: [PATCH] Update main.js --- lib/main.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/main.js b/lib/main.js index c3d3902..6848a7b 100644 --- a/lib/main.js +++ b/lib/main.js @@ -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,