Attempt to fix prerelease

This commit is contained in:
mariosch 2021-07-01 11:53:11 +03:00
parent 4dd78d06ed
commit b3ccdec230
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ Toolkit.run(async (tools) => {
// case: if default=prerelease, but rc-wording is also set // case: if default=prerelease, but rc-wording is also set
// then unset it and do not run, when no rc words found in message // then unset it and do not run, when no rc words found in message
if (version === 'prerelease' && !messages.some((message) => preReleaseWords.some((word) => message.includes(word)))) { if (version === 'prerelease' && !messages.some((message) => preReleaseWords.some((word) => message.includes(word))) && process.env.INPUT_DEFAULT != 'prerelease') {
version = null; version = null;
} }