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'
|
description: 'Custom dir to the package'
|
||||||
default: ''
|
default: ''
|
||||||
required: false
|
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 patchWords = process.env['INPUT_PATCH-WORDING'].split(',')
|
||||||
const preReleaseWords = process.env['INPUT_RC-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;
|
let foundWord = null;
|
||||||
|
|
||||||
if (messages.some(
|
if (messages.some(
|
||||||
|
|
Loading…
Reference in New Issue