Attempt to fix prerelease
This commit is contained in:
parent
1aa4623882
commit
1b7321ba33
2
index.js
2
index.js
|
@ -81,7 +81,7 @@ Toolkit.run(async (tools) => {
|
||||||
tools.log(version); // null
|
tools.log(version); // null
|
||||||
tools.log('PreID: ' + preid); //prc
|
tools.log('PreID: ' + preid); //prc
|
||||||
tools.log(process.env.INPUT_DEFAULT);
|
tools.log(process.env.INPUT_DEFAULT);
|
||||||
if (version === 'prerelease' && !messages.some((message) => preReleaseWords.some((word) => message.includes(word))) && process.env.INPUT_DEFAULT != 'prerelease') {
|
if (version === 'prerelease' && !messages.some((message) => preReleaseWords.some((word) => message.includes(word)))) {
|
||||||
tools.log('Version is set to null');
|
tools.log('Version is set to null');
|
||||||
version = null;
|
version = null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue