Attempt to fix prerelease
This commit is contained in:
parent
fdfb7839db
commit
9550a43c09
2
index.js
2
index.js
|
@ -64,6 +64,8 @@ Toolkit.run(async (tools) => {
|
||||||
if (!messages.some((message) => patchWords.some((word) => message.includes(word)))) {
|
if (!messages.some((message) => patchWords.some((word) => message.includes(word)))) {
|
||||||
version = null;
|
version = null;
|
||||||
}
|
}
|
||||||
|
} else if (process.env.INPUT_DEFAULT === 'prerelease'){
|
||||||
|
version = 'prerelease';
|
||||||
}
|
}
|
||||||
|
|
||||||
// case: if default=prerelease, but rc-wording is also set
|
// case: if default=prerelease, but rc-wording is also set
|
||||||
|
|
Loading…
Reference in New Issue