Attempt to fix prerelease

This commit is contained in:
mariosch 2021-07-01 15:53:00 +03:00
parent f31cb5f0ed
commit cb6143c85d
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ Toolkit.run(async (tools) => {
// version = null;
// }
if (version === 'prerelease' || (process.env.INPUT_DEFAULT === 'prerelease' && preid)) {
if (version === 'prerelease' && preid)) {
tools.log('Version is prerelease and it contains a preid');
version = 'prerelease';
version = `${version} --preid=${preid}`;