Skip to content

build(release): Enable craft's auto changelog - #163

Merged
vaind merged 1 commit into
mainfrom
ivan/craft-changelog-setup-5b1b9a
Oct 23, 2026
Merged

vaind merged 1 commit into
mainfrom
ivan/craft-changelog-setup-5b1b9a

Conversation

@vaind

@vaind vaind commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Problem

GitHub releases have empty bodies. .craft.yml sets no changelog policy, so craft defaults to none and skips the changelog. Craft's github target can only take the release body from the changelog file, so it publishes an empty release.

Approach

Set changelog.policy: auto, matching our other craft-released repos (craft, sentry, devservices, …). On craft prepare, craft writes a section built from merged PRs into CHANGELOG.md (creating the file on the first release), commits it with the version bump, and the github target uses that section as the release body. Entries are grouped by conventional-commit type, since there's no .github/release.yml.

The next release will cover everything since 1.11.0. Earlier releases are not backfilled.

🤖 Generated with Claude Code

Without a changelog policy craft defaults to "none", so recent GitHub
releases (1.9.0-1.11.0) were published with empty bodies. The github
target takes the release body from the changelog file, so "auto" makes
craft write CHANGELOG.md from merged PRs at prepare time, the same way
our other library repos do.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vaind
vaind merged commit 8e39a29 into main Oct 23, 2026
14 checks passed
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