what
This commit is contained in:
parent
3fdf98425b
commit
8e0393d982
13
index.js
13
index.js
|
@ -125,10 +125,15 @@ const pkg = getPackageJson();
|
||||||
preReleaseWords &&
|
preReleaseWords &&
|
||||||
!messages.some((message) => preReleaseWords.some((word) => message.includes(word)) && !versionType)
|
!messages.some((message) => preReleaseWords.some((word) => message.includes(word)) && !versionType)
|
||||||
) {
|
) {
|
||||||
console.log(version === 'prerelease')
|
console.log(version === 'prerelease');
|
||||||
console.log(preReleaseWords)
|
console.log(preReleaseWords);
|
||||||
console.log(!messages.some((message) => preReleaseWords.some((word) => message.includes(word))))
|
console.log(!messages.some((message) => preReleaseWords.some((word) => message.includes(word))));
|
||||||
console.log(!versionType)
|
console.log(!versionType);
|
||||||
|
console.log(
|
||||||
|
version === 'prerelease' &&
|
||||||
|
preReleaseWords &&
|
||||||
|
!messages.some((message) => preReleaseWords.some((word) => message.includes(word)) && !versionType),
|
||||||
|
);
|
||||||
version = null;
|
version = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue