Skip to content

Fix bump_version.py to find fragments in type subdirectories#11

Merged
nikhilwoodruff merged 1 commit intomainfrom
fix-versioning-script
Apr 5, 2026
Merged

Fix bump_version.py to find fragments in type subdirectories#11
nikhilwoodruff merged 1 commit intomainfrom
fix-versioning-script

Conversation

@nikhilwoodruff
Copy link
Copy Markdown
Contributor

The script only scanned top-level files in changelog.d/ but towncrier uses subdirectories (added/, fixed/, etc.). Now walks into subdirectories and uses the directory name as the fragment type.

The script only looked for files directly in changelog.d/ but
towncrier uses subdirectories (changelog.d/added/, changelog.d/fixed/).

Co-Authored-By: Claude <noreply@anthropic.com>
@nikhilwoodruff nikhilwoodruff merged commit 7bcba95 into main Apr 5, 2026
1 check 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.

1 participant