From 9550a43c09b1b1830a295a6334b963d3bdb7c1c3 Mon Sep 17 00:00:00 2001 From: mariosch Date: Thu, 1 Jul 2021 12:43:08 +0300 Subject: [PATCH] Attempt to fix prerelease --- index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.js b/index.js index 7d2b509..3340074 100644 --- a/index.js +++ b/index.js @@ -64,6 +64,8 @@ Toolkit.run(async (tools) => { if (!messages.some((message) => patchWords.some((word) => message.includes(word)))) { version = null; } + } else if (process.env.INPUT_DEFAULT === 'prerelease'){ + version = 'prerelease'; } // case: if default=prerelease, but rc-wording is also set