From fcac50b90094db758c3865076e4ed97c7a1ef272 Mon Sep 17 00:00:00 2001 From: Wei Lee Date: Thu, 7 Dec 2023 08:47:38 +0800 Subject: [PATCH] ci(prepare_release): ignore astro-runtime update and Bump dev version when generating draft changelog --- dev/prepare_release_scripts/changelog_drafter.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dev/prepare_release_scripts/changelog_drafter.py b/dev/prepare_release_scripts/changelog_drafter.py index 24ce387ee..798851b3b 100644 --- a/dev/prepare_release_scripts/changelog_drafter.py +++ b/dev/prepare_release_scripts/changelog_drafter.py @@ -12,8 +12,12 @@ # fmt: off EXCLUDE_PATTERN = ( - r"((\[pre\-commit\.ci\] pre-commit autoupdate)|" - r"((ci|tests|build)\(.*\): (.*)))" + r"(" + r"(\[pre\-commit\.ci\] pre-commit autoupdate)|" + r"((ci|tests|build)\(.*\): (.*))|" + r"(Bump version to \d+.\d+.\d+-dev1)|" + r"(Update runtime image tag to \d+.\d+.\d+-python-3.\d+-base)" + r")" r"( \(#\d+\)){0,1}" ) # fmt: on