@releasekit/publish 0.5.0 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1276,9 +1276,9 @@ function resolveNotes(bodySource, tag, changelogs, releaseNotesEnabled, pipeline
1276
1276
  return { useGithubNotes: true };
1277
1277
  }
1278
1278
  if (bodySource === "changelog") {
1279
- const packageBody2 = formatChangelogForTag(tag, changelogs);
1280
- if (packageBody2) {
1281
- return { body: packageBody2, useGithubNotes: false };
1279
+ const packageBody = formatChangelogForTag(tag, changelogs);
1280
+ if (packageBody) {
1281
+ return { body: packageBody, useGithubNotes: false };
1282
1282
  }
1283
1283
  warn("No changelog found for tag, falling back to GitHub auto-notes");
1284
1284
  return { useGithubNotes: true };
@@ -1286,10 +1286,7 @@ function resolveNotes(bodySource, tag, changelogs, releaseNotesEnabled, pipeline
1286
1286
  if (releaseNotesEnabled && pipelineNotes) {
1287
1287
  const body = findNotesForTag(tag, pipelineNotes);
1288
1288
  if (body) return { body, useGithubNotes: false };
1289
- }
1290
- const packageBody = formatChangelogForTag(tag, changelogs);
1291
- if (packageBody) {
1292
- return { body: packageBody, useGithubNotes: false };
1289
+ warn(`Release notes configured but no content found for tag ${tag}, falling back to GitHub auto-generated notes`);
1293
1290
  }
1294
1291
  return { useGithubNotes: true };
1295
1292
  }
package/dist/cli.js CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  runPipeline,
10
10
  setJsonMode,
11
11
  setLogLevel
12
- } from "./chunk-J7B2M2BH.js";
12
+ } from "./chunk-53BGK2JF.js";
13
13
 
14
14
  // src/cli.ts
15
15
  import { realpathSync } from "fs";
package/dist/index.js CHANGED
@@ -16,7 +16,7 @@ import {
16
16
  parseInput,
17
17
  runPipeline,
18
18
  updateCargoVersion
19
- } from "./chunk-J7B2M2BH.js";
19
+ } from "./chunk-53BGK2JF.js";
20
20
  export {
21
21
  BasePublishError,
22
22
  PipelineError,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@releasekit/publish",
3
- "version": "0.5.0",
3
+ "version": "0.6.1",
4
4
  "description": "Publish packages to npm and crates.io with git tagging and GitHub releases",
5
5
  "type": "module",
6
6
  "module": "./dist/index.js",