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