Merge pull request #64 from johanlajili/patch-1
Fix: Action was not default to patch anymore
This commit is contained in:
commit
27670d773a
2
index.js
2
index.js
|
@ -50,7 +50,7 @@ Toolkit.run(async tools => {
|
|||
))) {
|
||||
const preid = foundWord.split('-')[1]
|
||||
version = `prerelease --preid=${preid}`
|
||||
} else if (patchWords && Array.isArray(patchWords)) {
|
||||
} else if (patchWords && Array.isArray(patchWords) && patchWords.length) {
|
||||
if (!messages.some(message => patchWords.some(word => message.includes(word)))) {
|
||||
version = null
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue