Attempt to fix prerelease

This commit is contained in:
mariosch 2021-07-01 14:59:19 +03:00
parent 1aa4623882
commit 1b7321ba33
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ Toolkit.run(async (tools) => {
tools.log(version); // null tools.log(version); // null
tools.log('PreID: ' + preid); //prc tools.log('PreID: ' + preid); //prc
tools.log(process.env.INPUT_DEFAULT); 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'); tools.log('Version is set to null');
version = null; version = null;
} }