MCPcopy
hub / github.com/semantic-release/semantic-release / EANALYZECOMMITSOUTPUT

Function EANALYZECOMMITSOUTPUT

lib/definitions/errors.js:111–128  ·  view source on GitHub ↗
({ result, pluginName })

Source from the content-addressed store, hash-verified

109}
110
111export function EANALYZECOMMITSOUTPUT({ result, pluginName }) {
112 return {
113 message: "The `analyzeCommits` plugin returned an invalid value. It must return a valid semver release type.",
114 details: `The \`analyzeCommits\` plugin must return a valid [semver](https://semver.org) release type. The valid values are: ${RELEASE_TYPE.map(
115 (type) => `\`${type}\``
116 ).join(", ")}.
117
118The \`analyzeCommits\` function of the \`${pluginName}\` returned \`${stringify(result)}\` instead.
119
120We recommend to report the issue to the \`${pluginName}\` authors, providing the following informations:
121- The **semantic-release** version: \`${pkg.version}\`
122- The **semantic-release** logs from your CI job
123- The value returned by the plugin: \`${stringify(result)}\`
124- A link to the **semantic-release** plugin developer guide: [${linkify("docs/developer-guide/plugin.md")}](${linkify(
125 "docs/developer-guide/plugin.md"
126 )})`,
127 };
128}
129
130export function EGENERATENOTESOUTPUT({ result, pluginName }) {
131 return {

Callers

nothing calls this directly

Calls 2

stringifyFunction · 0.85
linkifyFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…