Skip to content

Commit

Permalink
πŸ“πŸ’… Mv date in changelog titles to second line
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Nov 15, 2024
1 parent 93ab055 commit 2dc89df
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,8 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
artifact: >-
${{ needs.pre-setup.outputs.dists-artifact-name }}
head_line: >-
{version}\n=+\n\n\*\({date}\)\*\n
fix_issue_regex: >-
:issue:`(\d+)`
fix_issue_repl: >-
Expand Down
3 changes: 3 additions & 0 deletions CHANGES/.TEMPLATE.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{# TOWNCRIER TEMPLATE #}

*({{ versiondata.date }})*

{% for section, _ in sections.items() %}
{% set underline = underlines[0] %}{% if section %}{{section}}
{{ underline * section|length }}{% set underline = underlines[1] %}
Expand Down
2 changes: 1 addition & 1 deletion towncrier.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
package = "multidict"
filename = "CHANGES.rst"
directory = "CHANGES/"
title_format = "{version} ({project_date})"
title_format = "v{version}"
template = "CHANGES/.TEMPLATE.rst"
issue_format = "{issue}"

Expand Down

0 comments on commit 2dc89df

Please sign in to comment.