Merge pull request #55 from bootsie123/master
fix: default version bump
This commit is contained in:
commit
e178d75a78
|
@ -31,3 +31,7 @@ inputs:
|
|||
description: 'Custom dir to the package'
|
||||
default: ''
|
||||
required: false
|
||||
default:
|
||||
description: 'Set a default version bump to use'
|
||||
default: 'patch'
|
||||
required: false
|
||||
|
|
2
index.js
2
index.js
|
@ -31,7 +31,7 @@ Toolkit.run(async tools => {
|
|||
const patchWords = process.env['INPUT_PATCH-WORDING'].split(',')
|
||||
const preReleaseWords = process.env['INPUT_RC-WORDING'].split(',')
|
||||
|
||||
let version = process.env['DEFAULT'] || 'patch'
|
||||
let version = process.env['INPUT_DEFAULT'] || 'patch'
|
||||
let foundWord = null;
|
||||
|
||||
if (messages.some(
|
||||
|
|
Loading…
Reference in New Issue