mirror of
https://github.com/ButlerLogic/action-autotag.git
synced 2024-11-10 02:11:08 +07:00
WIP
This commit is contained in:
parent
3e9d7a08c6
commit
e4e846a30d
@ -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.swarning(`Attempting to use ${strategy} strategy.`)
|
||||
core.warning(`Attempting to use ${strategy} strategy.`)
|
||||
|
||||
// Extract the version number using the supplied strategy
|
||||
let version = core.getInput('root', { required: false })
|
||||
|
Loading…
Reference in New Issue
Block a user