From 9b712f9de95dc6d06688370442d991450336f94e Mon Sep 17 00:00:00 2001 From: Kris Braun Date: Sun, 19 Oct 2025 11:49:10 -0400 Subject: [PATCH] Fix broken changelog references --- .changeset/changelog-formatter.js | 5 +++-- sdk/CHANGELOG.md | 8 ++++---- tools/google-calendar/CHANGELOG.md | 2 +- tools/google-contacts/CHANGELOG.md | 2 +- tools/outlook-calendar/CHANGELOG.md | 2 +- 5 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.changeset/changelog-formatter.js b/.changeset/changelog-formatter.js index 6c995f0..73f82d3 100644 --- a/.changeset/changelog-formatter.js +++ b/.changeset/changelog-formatter.js @@ -56,9 +56,10 @@ async function getReleaseLine(changeset, type, options) { commit: changeset.commit, }); + // getInfo returns pre-formatted markdown links // Format: [#PR](link) [`hash`](link) - const prLink = info.pull ? `[#${info.pull}](${info.links.pull})` : null; - const commitLink = info.commit ? `[\`${info.commit.slice(0, 7)}\`](${info.links.commit})` : null; + const prLink = info.links.pull; + const commitLink = info.links.commit; const linkParts = [prLink, commitLink].filter(Boolean); if (linkParts.length > 0) { diff --git a/sdk/CHANGELOG.md b/sdk/CHANGELOG.md index a43f53c..6763819 100644 --- a/sdk/CHANGELOG.md +++ b/sdk/CHANGELOG.md @@ -4,13 +4,13 @@ ### Changed -- Add instructions to AGENTS.md to avoid accidentally reprocessing agent-created activities ([#10]([#10](https://github.com/plotday/plot/pull/10))) -- improved changelog format ([#9]([#9](https://github.com/plotday/plot/pull/9))) -- Generate a plotAgentId on "plot agent generate" if none specified ([#10]([#10](https://github.com/plotday/plot/pull/10))) +- Add instructions to AGENTS.md to avoid accidentally reprocessing agent-created activities ([#10](https://github.com/plotday/plot/pull/10) [`6dc8403`](https://github.com/plotday/plot/commit/6dc8403)) +- improved changelog format ([#9](https://github.com/plotday/plot/pull/9) [`ceecf33`](https://github.com/plotday/plot/commit/ceecf33)) +- Generate a plotAgentId on "plot agent generate" if none specified ([#10](https://github.com/plotday/plot/pull/10) [`6dc8403`](https://github.com/plotday/plot/commit/6dc8403)) ### Fixed -- Set displayName on plot agent generate ([#10]([#10](https://github.com/plotday/plot/pull/10))) +- Set displayName on plot agent generate ([#10](https://github.com/plotday/plot/pull/10) [`6dc8403`](https://github.com/plotday/plot/commit/6dc8403)) ## 0.11.0 diff --git a/tools/google-calendar/CHANGELOG.md b/tools/google-calendar/CHANGELOG.md index 2a298bf..0b2ef33 100644 --- a/tools/google-calendar/CHANGELOG.md +++ b/tools/google-calendar/CHANGELOG.md @@ -4,7 +4,7 @@ ### Changed -- improved changelog format ([#9]([#9](https://github.com/plotday/plot/pull/9))) +- improved changelog format ([#9](https://github.com/plotday/plot/pull/9) [`ceecf33`](https://github.com/plotday/plot/commit/ceecf33)) - Updated dependencies: - @plotday/sdk@0.11.1 diff --git a/tools/google-contacts/CHANGELOG.md b/tools/google-contacts/CHANGELOG.md index f78f6ca..a284d99 100644 --- a/tools/google-contacts/CHANGELOG.md +++ b/tools/google-contacts/CHANGELOG.md @@ -4,7 +4,7 @@ ### Changed -- improved changelog format ([#9]([#9](https://github.com/plotday/plot/pull/9))) +- improved changelog format ([#9](https://github.com/plotday/plot/pull/9) [`ceecf33`](https://github.com/plotday/plot/commit/ceecf33)) - Updated dependencies: - @plotday/sdk@0.11.1 diff --git a/tools/outlook-calendar/CHANGELOG.md b/tools/outlook-calendar/CHANGELOG.md index 6e05dd3..298d392 100644 --- a/tools/outlook-calendar/CHANGELOG.md +++ b/tools/outlook-calendar/CHANGELOG.md @@ -4,7 +4,7 @@ ### Changed -- improved changelog format ([#9]([#9](https://github.com/plotday/plot/pull/9))) +- improved changelog format ([#9](https://github.com/plotday/plot/pull/9) [`ceecf33`](https://github.com/plotday/plot/commit/ceecf33)) - Updated dependencies: - @plotday/sdk@0.11.1