Skip to content

Commit

Permalink
fix: publish log
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoKam committed May 14, 2024
1 parent 0f7df3f commit a0dde0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion log.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ async function main() {

const resultTitle = result.length > 0 ? 'orca-fe 发布通知' : 'orca-fe 发布失败';
const resultContent = result.length > 0 ? `# Pocket 组件库\\n\\n流水线结束,以下模块已发布:\n\n${
result.map(({ name, version, text }) => `## ${name}@${version}\n${text}`)
result.map(({ name, version, text }) => `## ${name}@${version}\n${text}`).join('\n\n')
}` : '# Pocket 组件库\\n\\n流水线结束,模块发布失败,请检查。';

core.setOutput('title', resultTitle);
Expand Down

0 comments on commit a0dde0d

Please sign in to comment.