Skip to content

ci: fix semantic-release note generation (conventionalcommits v8)#7

Merged
Leicas merged 1 commit into
mainfrom
ci/fix-sr-preset
May 30, 2026
Merged

ci: fix semantic-release note generation (conventionalcommits v8)#7
Leicas merged 1 commit into
mainfrom
ci/fix-sr-preset

Conversation

@Leicas

@Leicas Leicas commented May 30, 2026

Copy link
Copy Markdown
Owner

The first Release run after #6 merged failed in generateNotes:

TypeError: Method Date.prototype.toString called on incompatible receiver [object Date]

semantic-release 24 (installed by cycjimmy/semantic-release-action@v4) bundles a conventional-changelog-writer that is incompatible with the conventional-changelog-conventionalcommits@7 preset I pinned. Bump the pin to @8.

The failure was clean — it errors before any tag is created, so no broken tag/release exists. The version analysis itself worked: it correctly read the v1.11.0 seed baseline, found the fix: commits from #5, and determined a patch (v1.11.1). Once this merges, the workflow re-runs and cuts v1.11.1 (full build path, since .github/ changed alongside custom_components/).

🤖 Generated with Claude Code

The v7 preset is incompatible with the conventional-changelog-writer bundled
in semantic-release 24 and throws "Method Date.prototype.toString called on
incompatible receiver [object Date]" during generateNotes, failing the
version job before any tag is created. Bump to v8.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 30, 2026 17:14
@Leicas Leicas merged commit d3090f9 into main May 30, 2026
1 check failed
@Leicas Leicas deleted the ci/fix-sr-preset branch May 30, 2026 17:14

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants