Attempt to fix prerelease

This commit is contained in:
mariosch 2021-07-01 12:43:08 +03:00
parent fdfb7839db
commit 9550a43c09
1 changed files with 2 additions and 0 deletions

View File

@ -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