Attempt to fix prerelease
This commit is contained in:
parent
d2aab699b5
commit
22d657a2ad
4
index.js
4
index.js
|
@ -31,9 +31,7 @@ Toolkit.run(async (tools) => {
|
||||||
const majorWords = process.env['INPUT_MAJOR-WORDING'].split(',');
|
const majorWords = process.env['INPUT_MAJOR-WORDING'].split(',');
|
||||||
const minorWords = process.env['INPUT_MINOR-WORDING'].split(',');
|
const minorWords = process.env['INPUT_MINOR-WORDING'].split(',');
|
||||||
const preReleaseWords = process.env['INPUT_RC-WORDING'].split(',');
|
const preReleaseWords = process.env['INPUT_RC-WORDING'].split(',');
|
||||||
|
const patchWords = process.env['INPUT_PATCH-WORDING'].split(',');
|
||||||
// if patch words aren't specified, any commit message qualifies as a patch
|
|
||||||
const patchWords = process.env['INPUT_PATCH-WORDING'] ? process.env['INPUT_PATCH-WORDING'].split(',') : null;
|
|
||||||
|
|
||||||
let version = process.env.INPUT_DEFAULT;
|
let version = process.env.INPUT_DEFAULT;
|
||||||
let foundWord = null;
|
let foundWord = null;
|
||||||
|
|
Loading…
Reference in New Issue