Skip to content

Commit

Permalink
Add publication date in changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquev6 committed Nov 22, 2023
1 parent a229bd7 commit 9c3216e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion development/publish.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Copyright 2023 Vincent Jacques

from __future__ import annotations
import datetime
import subprocess

import click
Expand Down Expand Up @@ -82,7 +83,7 @@ def update_changelog(new_version):

header_length = 6

title = f"Version {new_version}"
title = f"Version {new_version} ({datetime.date.today().isoformat()})"
lines = lines[:header_length] + [
title,
"=" * len(title),
Expand Down

0 comments on commit 9c3216e

Please sign in to comment.