Attempt to fix prerelease
This commit is contained in:
parent
f31cb5f0ed
commit
cb6143c85d
2
index.js
2
index.js
|
@ -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}`;
|
||||
|
|
Loading…
Reference in New Issue