Skip to content

Commit

Permalink
Merge pull request #194 from kevcube/prerelease_not_working
Browse files Browse the repository at this point in the history
version-type prerelease fix was flaky
  • Loading branch information
phips28 authored Nov 3, 2022
2 parents 956c162 + d7f1541 commit 36eed58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 36eed58

Please sign in to comment.