Skip to content

Commit

Permalink
Release 23.11.0 (#566)
Browse files Browse the repository at this point in the history
* venv/bin/towncrier build --yes

* Show release draft as a step output.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update final version.

* Update dev version.

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
adiroiban and pre-commit-ci[bot] authored Nov 8, 2023
1 parent 3b27ce2 commit 4d317bf
Show file tree
Hide file tree
Showing 9 changed files with 35 additions and 8 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,12 @@ jobs:
python-version: '3.11'
task:
- name: Check Newsfragment
nox: check_newsfragment
run: |
nox -e check_newsfragment
nox -e draft_newsfragment >> $GITHUB_STEP_SUMMARY
run-if: ${{ github.head_ref != 'pre-commit-ci-update-config' }}
- name: Check mypy
nox: typecheck
run: nox -e typecheck
run-if: true

steps:
Expand All @@ -187,7 +189,9 @@ jobs:

- uses: twisted/python-info-action@v1

- run: nox -e ${{ matrix.task.nox }}
- name: Check
run: |
${{ matrix.task.run }}
if: ${{ matrix.task.run-if }}


Expand Down
21 changes: 21 additions & 0 deletions NEWS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,27 @@ Release notes

.. towncrier release notes start
towncrier 23.11.0 (2023-11-08)
==============================

No significant changes since the previous release candidate.


Bugfixes
--------

- ``build`` now treats a missing fragments directory the same as an empty one, consistent with other operations. (`#538 <https://github.com/twisted/towncrier/issues/538>`_)
- Fragments with filenames like `fix-1.2.3.feature` are now associated with the ticket `fix-1.2.3`.
In previous versions they were incorrectly associated to ticket `3`. (`#562 <https://github.com/twisted/towncrier/issues/562>`_)
- Orphan newsfragments containing numeric values are no longer accidentally associated to tickets. In previous versions the orphan marker was ignored and the newsfragment was associated to a ticket having the last numerical value from the filename. (`#562 <https://github.com/twisted/towncrier/issues/562>`_)


Misc
----

- `#558 <https://github.com/twisted/towncrier/issues/558>`_, `#559 <https://github.com/twisted/towncrier/issues/559>`_


towncrier 23.10.0 (2023-10-24)
==============================

Expand Down
6 changes: 6 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ def check_newsfragment(session: nox.Session) -> None:
session.run("python", "-m", "towncrier.check", "--compare-with", "origin/trunk")


@nox.session
def draft_newsfragment(session: nox.Session) -> None:
session.install(".")
session.run("python", "-m", "towncrier.build", "--draft")


@nox.session
def typecheck(session: nox.Session) -> None:
# Click 8.1.4 is bad type hints -- lets not complicate packaging and only
Expand Down
2 changes: 1 addition & 1 deletion src/towncrier/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# For dev - Version('towncrier', 23, 8, 1, dev=0)
# For RC - Version('towncrier', 23, 9, 0, release_candidate=1)
# For final - Version('towncrier', 23, 9, 0)
__version__ = Version("towncrier", 23, 10, 1, dev=0)
__version__ = Version("towncrier", 23, 11, 1, dev=0)
# The version is exposed in string format to be
# available for the hatching build tools.
_hatchling_version = __version__.short()
Expand Down
1 change: 0 additions & 1 deletion src/towncrier/newsfragments/538.bugfix

This file was deleted.

Empty file.
Empty file.
1 change: 0 additions & 1 deletion src/towncrier/newsfragments/562.bugfix

This file was deleted.

2 changes: 0 additions & 2 deletions src/towncrier/newsfragments/562.bugfix.1

This file was deleted.

0 comments on commit 4d317bf

Please sign in to comment.