From 49128fc173824d95e0dba30b093f72d8068252b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicki=20K=C5=99=C3=AD=C5=BEek?= Date: Tue, 24 Sep 2024 14:04:16 +0200 Subject: [PATCH] Generate changelog to stdout Since the changes aren't tracked in the single changelog.rst file, generate the changelog to stdout instead, so it can be easily redirected to the proper file. --- contrib/gitchangelog/changelog.rc.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/contrib/gitchangelog/changelog.rc.py b/contrib/gitchangelog/changelog.rc.py index 7f8182a574..8ca4869607 100644 --- a/contrib/gitchangelog/changelog.rc.py +++ b/contrib/gitchangelog/changelog.rc.py @@ -291,12 +291,7 @@ include_merge = True # r'/(?P[0-9]+\.[0-9]+(\.[0-9]+)?)\s+\([0-9]+-[0-9]{2}-[0-9]{2}\)\n--+\n/', # idx=lambda m: m.start(1) # ) -# publish = stdout -publish = FileInsertAtFirstRegexMatch( - "doc/arm/changelog.rst", - r"for changes relevant to them.\n\n", - idx=lambda m: m.end(0), -) +publish = stdout ## ``revs`` is a list of callable or a list of string