From 22d657a2ad4221b3f6874a06ef71c990aaa7ee41 Mon Sep 17 00:00:00 2001 From: mariosch Date: Thu, 1 Jul 2021 12:58:41 +0300 Subject: [PATCH] Attempt to fix prerelease --- index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/index.js b/index.js index c74138c..c60a0ba 100644 --- a/index.js +++ b/index.js @@ -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;