From bb3784fe85940014e29b5a7929dc0b9068789fe3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chris=20M=C3=BCller?= <2566282+brotkrueml@users.noreply.github.com> Date: Thu, 22 Aug 2024 14:21:24 +0200 Subject: [PATCH] chore: update changelog rst generation snippet in Makefile This way, it can be run on Ubuntu 24.04. --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 77827ec..baf550b 100644 --- a/Makefile +++ b/Makefile @@ -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