Attempt to fix prerelease

This commit is contained in:
mariosch 2021-07-01 13:27:08 +03:00
parent d51ed3a368
commit 1aa4623882
1 changed files with 1 additions and 0 deletions

View File

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