Skip to content

Commit 95c73a0

Browse files
committed
Remove version number and release date from release notes
1 parent 663ffcc commit 95c73a0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ jobs:
8888
mkdir reports/
8989
pip install -e . --no-build-isolation
9090
version=$(echo $GITHUB_REF_SLUG | sed -E "s/v(.*)/\1/")
91-
changelog generate-md -c ./docs/conf.py CHANGELOG.rst -v $version > reports/release.md
91+
# lines 1 and 3 are empty, line 2 contains version number, line 4 contains release date
92+
changelog generate-md -c ./docs/conf.py CHANGELOG.rst -v $version | sed "1,4d" > reports/release.md
9293
9394
- name: Check package
9495
run: twine check dist/*

CHANGELOG.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Changelog
99
:released: 01.11.2022
1010

1111
.. change::
12-
:tags: dependencies, feature
12+
:tags: dependency, feature
1313

1414
For Python 3.11 use built-in ``tomllib`` instead of ``toml`` package
1515

0 commit comments

Comments
 (0)