Skip to content

chore(windows): add changelog.d and towncrier notes - #4612

Open
datlechin wants to merge 1 commit into
mainfrom
chore/windows-changelog-infra
Open

datlechin wants to merge 1 commit into
mainfrom
chore/windows-changelog-infra

Conversation

@datlechin

Copy link
Copy Markdown
Member

Summary

  • Give the Windows app a towncrier changelog like apple/ and linux/: windows/towncrier.toml, windows/changelog.d/, windows/CHANGELOG.md, tag URL windows-v{version}.
  • CI Lint renders windows/ fragments, and check-changelog-edits.sh now also guards windows/CHANGELOG.md.
  • --diff-filter=a exempts the first-time creation of a CHANGELOG.md so a non-release PR can bootstrap one; every later edit is still caught.
  • Document the fragment rule in windows/AGENTS.md (Every change) and the assemble step in windows/RELEASING.md (Notes); extend .claude/rules/changelog.md to windows.

Test plan

  • python3 -m unittest discover -s scripts/ci -p 'test_*.py' (78 pass; adds the bootstrap and three-changelog cases).
  • shellcheck --severity=warning scripts/ci/check-changelog-edits.sh clean.
  • towncrier build --draft --dir windows on the pinned venv: empty changelog.d/ renders "No significant changes"; a sample fragment renders the heading with the windows-v tag URL and the PR link.

@datlechin
datlechin enabled auto-merge (squash) November 26, 2026 11:28

This branch has not been deployed

No deployments
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.

1 participant