Skip to content
This repository was archived by the owner on Oct 30, 2026. It is now read-only.

Commit 987c625

Browse files
committed
Format release notes with Snapper after Towncrier
1 parent 829b093 commit 987c625

3 files changed

Lines changed: 2 additions & 29 deletions

File tree

‎.github/towncrier_template.md.jinja‎

Lines changed: 0 additions & 26 deletions
This file was deleted.

‎.github/workflows/release.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252
RELEASE: ${{ steps.calver.outputs.release }}
5353
run: |
5454
uv run --group=release towncrier build --yes --version "$RELEASE"
55+
uv run --group=dev snapper --native --max-width 0 --in-place "docs/source/changelog/$RELEASE.md"
5556
cp "docs/source/changelog/$RELEASE.md" release-notes.md
5657
5758
- uses: stefanzweifel/git-auto-commit-action@v7

‎pyproject.toml‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -448,9 +448,7 @@ report.show_missing = true
448448
# Write the same native Markdown file used by documentation and GitHub releases.
449449
directory = "newsfragments"
450450
filename = "docs/source/changelog/{version}.md"
451-
# The template renders the release heading and preserves semantic line breaks.
452-
template = ".github/towncrier_template.md.jinja"
453-
title_format = false
451+
title_format = "# {version} ({project_date})"
454452
issue_format = "[#{issue}](https://github.com/VWS-Python/vws-python/issues/{issue})"
455453
single_file = false
456454
# Reject invalid fragment names instead of silently losing release entries.

0 commit comments

Comments
 (0)