Skip to content

Commit

Permalink
chore: update changelog rst generation snippet in Makefile
Browse files Browse the repository at this point in the history
This way, it can be run on Ubuntu 24.04.
  • Loading branch information
brotkrueml committed Nov 11, 2024
1 parent 3f44cf6 commit 1fe58a6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ qa: cs phpstan rector-dry tests yaml-lint changelog
# See: https://github.com/crossnox/m2r2
.PHONY: changelog
changelog:
m2r2 CHANGELOG.md && \
python3 -m venv .Build/changelog
.Build/changelog/bin/pip install setuptools m2r2
.Build/changelog/bin/m2r2 CHANGELOG.md && \
echo ".. _changelog:" | cat - CHANGELOG.rst > /tmp/CHANGELOG.rst && \
mv /tmp/CHANGELOG.rst Documentation/Changelog/Index.rst && \
rm CHANGELOG.rst
Expand Down

0 comments on commit 1fe58a6

Please sign in to comment.