Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce towncrier #1201

Merged
merged 25 commits into from
Jan 14, 2024
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
6134831
Introduce towncrier with basic configuration
Gitznik Jan 11, 2024
c7fc62e
Format changelog according to keep a changelog
Gitznik Jan 11, 2024
c4475fb
Add pre-commit hook
Gitznik Jan 11, 2024
e2da3c2
Add changelog entry
Gitznik Jan 11, 2024
d35749f
Update PR template
Gitznik Jan 11, 2024
c08ba9e
Switch to default fragment types
Gitznik Jan 12, 2024
24c3c42
Update .github/PULL_REQUEST_TEMPLATE.md
gaborbernat Jan 12, 2024
7b35d0e
Update news contribution docs
Gitznik Jan 12, 2024
4fbe258
Update bump changelog workflow
Gitznik Jan 12, 2024
7d12bf6
Merge remote-tracking branch 'refs/remotes/origin/introduce_towncrier…
Gitznik Jan 12, 2024
5888008
Merge branch 'main' into introduce_towncrier
Gitznik Jan 12, 2024
c932544
Remove redundant news fragments
Gitznik Jan 12, 2024
8def969
Add empty gitignore file to make sure changelog.d folder is tracked
Gitznik Jan 12, 2024
7b3532e
Apply suggestions from code review
Gitznik Jan 13, 2024
a977247
Add changelog entry
Gitznik Jan 12, 2024
a085950
Build changelog during `build_docs` nox command
Gitznik Jan 13, 2024
30b5113
Moved towncrier changelog entry to docs block
Gitznik Jan 13, 2024
cdcff25
Stop adding version number to top of changelog via mkdocs script
Gitznik Jan 13, 2024
cce41eb
Render current newsfragments cleanly during build docs
Gitznik Jan 13, 2024
efc1df6
Remove extra stdout lines from towncrier build step
Gitznik Jan 13, 2024
cfdd130
Add draft changelog file to gitignore
Gitznik Jan 13, 2024
0e4f166
Add upcoming changes to prod changelog
Gitznik Jan 13, 2024
7512219
Remove draft changelog in site after build
Gitznik Jan 14, 2024
60d0290
Merge branch 'main' into introduce_towncrier
Gitznik Jan 14, 2024
87c7720
Create news fragment for current dev changelog
Gitznik Jan 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- add an 'x' in the brackets below -->

- [ ] I have added an entry to `docs/changelog.md`
- [ ] I have added a news fragment under `changelog.d/` (if the patch affects the end users)

## Summary of changes

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ jobs:
- name: Create pull request branch
run: git switch -c "bump-changelog-for-${RELEASE_VERSION}"
- name: Update changelog
run: echo -e "## dev\n\n## $RELEASE_VERSION\n$(tail -n +2 CHANGELOG.md)" > CHANGELOG.md
run: pipx run towncrier build --version $RELEASE_VERSION
Gitznik marked this conversation as resolved.
Show resolved Hide resolved
- name: Commit and push change
run: |
git config --global user.name 'github-actions[bot]'
Expand Down