Attempt to fix prerelease

This commit is contained in:
mariosch 2021-07-01 12:58:41 +03:00
parent d2aab699b5
commit 22d657a2ad
1 changed files with 1 additions and 3 deletions

View File

@ -31,9 +31,7 @@ Toolkit.run(async (tools) => {
const majorWords = process.env['INPUT_MAJOR-WORDING'].split(',');
const minorWords = process.env['INPUT_MINOR-WORDING'].split(',');
const preReleaseWords = process.env['INPUT_RC-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;
const patchWords = process.env['INPUT_PATCH-WORDING'].split(',');
let version = process.env.INPUT_DEFAULT;
let foundWord = null;