From 5062468b49224595cb5db5e7ca5be543b7b71844 Mon Sep 17 00:00:00 2001 From: AsadHasan-Rasa Date: Thu, 22 Aug 2024 17:12:09 +0100 Subject: [PATCH] ENG-1235: Address PR feedback, to not generate changelog on Dev versions either --- scripts/release.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/release.py b/scripts/release.py index e4d09b2f..65869a23 100644 --- a/scripts/release.py +++ b/scripts/release.py @@ -363,8 +363,8 @@ def main(args: argparse.Namespace) -> None: write_version_file(version) write_version_to_pyproject(version) - if not version.pre: - # never update changelog on a prerelease version + if not version.pre and not version.dev: + # never update changelog on a prerelease or Dev version generate_changelog(version) # alpha workflow on feature branch when a version bump is required