Merge pull request #194 from kevcube/prerelease_not_working
version-type prerelease fix was flaky
This commit is contained in:
commit
36eed5885a
3
index.js
3
index.js
|
@ -123,7 +123,8 @@ const pkg = getPackageJson();
|
|||
if (
|
||||
version === 'prerelease' &&
|
||||
preReleaseWords &&
|
||||
!messages.some((message) => preReleaseWords.some((word) => message.includes(word)) && !versionType)
|
||||
!messages.some((message) => preReleaseWords.some((word) => message.includes(word))) &&
|
||||
!versionType
|
||||
) {
|
||||
version = null;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue