From 2174768f11c08280bcb805b720d43f0315e008a2 Mon Sep 17 00:00:00 2001 From: Corey Butler Date: Wed, 1 Apr 2020 14:09:24 -0500 Subject: [PATCH] WIP --- app/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/main.js b/app/main.js index 06add7b..5cf0cb4 100644 --- a/app/main.js +++ b/app/main.js @@ -16,7 +16,7 @@ async function run () { // Identify the tag parsing strategy const root = core.getInput('root', { required: false }) || core.getInput('package_root', { required: false }) || './' const strategy = (core.getInput('regex_pattern', { required: false }) || '').trim().length > 0 ? 'regex' : ((core.getInput('strategy', { required: false }) || 'package').trim().toLowerCase()) - core.warning(`Attempting to use ${strategy} strategy.`) + core.warning(`Attempting to use ${strategy} version extraction strategy.`) // Extract the version number using the supplied strategy let version = core.getInput('root', { required: false }) @@ -65,6 +65,7 @@ async function run () { core.setOutput('tagcreated', 'yes') } catch (error) { core.warning(error.message) + core.warning(error.stack) core.setOutput('tagname', '') core.setOutput('tagsha', '') core.setOutput('taguri', '')