@semantic-release/github
Advanced tools
Comparing version 10.0.7 to 10.1.0
@@ -1,3 +0,11 @@ | ||
export default function isPrerelease({ type, main }) { | ||
return type === "prerelease" || (type === "release" && !main); | ||
export default function isPrerelease({ type, main, prerelease }) { | ||
if (prerelease === false) { | ||
return false; | ||
} | ||
return ( | ||
type === "prerelease" || | ||
(type === "release" && !main) || | ||
typeof prerelease == "string" || | ||
prerelease === true | ||
); | ||
} |
{ | ||
"name": "@semantic-release/github", | ||
"description": "semantic-release plugin to publish a GitHub release and comment on released Pull Requests/Issues", | ||
"version": "10.0.7", | ||
"version": "10.1.0", | ||
"type": "module", | ||
@@ -50,3 +50,3 @@ "author": "Pierre Vanduynslager (https://twitter.com/@pvdlg_)", | ||
"ls-engines": "0.9.2", | ||
"npm-run-all2": "6.2.0", | ||
"npm-run-all2": "6.2.2", | ||
"prettier": "3.3.2", | ||
@@ -53,0 +53,0 @@ "publint": "0.2.8", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
76818
1324