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 Aug 22, 2024
1 parent 80c3641 commit bb3784f
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 unit-tests phpstan rector-dry 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 bb3784f

Please sign in to comment.