From fdfb7839db491ae1e664451c5c69eaa7d1bb0b0c Mon Sep 17 00:00:00 2001 From: mariosch Date: Thu, 1 Jul 2021 12:35:07 +0300 Subject: [PATCH] Increase package version --- index.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/index.js b/index.js index ff2d208..7d2b509 100644 --- a/index.js +++ b/index.js @@ -68,11 +68,17 @@ Toolkit.run(async (tools) => { // case: if default=prerelease, but rc-wording is also set // then unset it and do not run, when no rc words found in message + tools.log('Before Login'); + tools.log(version); + tools.log('PreID: ' + preid); + tools.log(process.env.INPUT_DEFAULT); if (version === 'prerelease' && !messages.some((message) => preReleaseWords.some((word) => message.includes(word))) && process.env.INPUT_DEFAULT != 'prerelease') { + tools.log('Version is set to null'); version = null; } if (version === 'prerelease' && preid) { + tools.log('Version is prerelease and it contains a preid'); version = `${version} --preid=${preid}`; }