From 1b7321ba3314ca4ea8d8f6d32817acf813351a15 Mon Sep 17 00:00:00 2001 From: mariosch Date: Thu, 1 Jul 2021 14:59:19 +0300 Subject: [PATCH] Attempt to fix prerelease --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 7a75649..198a83e 100644 --- a/index.js +++ b/index.js @@ -81,7 +81,7 @@ Toolkit.run(async (tools) => { tools.log(version); // null tools.log('PreID: ' + preid); //prc tools.log(process.env.INPUT_DEFAULT); - if (version === 'prerelease' && !messages.some((message) => preReleaseWords.some((word) => message.includes(word))) && process.env.INPUT_DEFAULT != 'prerelease') { + if (version === 'prerelease' && !messages.some((message) => preReleaseWords.some((word) => message.includes(word)))) { tools.log('Version is set to null'); version = null; }