diff mbox series

[auh,4/4] steps: remove unnecessary removal of metadata

Message ID 20260918120342.772566-4-daniel.turull@ericsson.com
State New
Headers show
Series [auh,1/4] steps: deduplicate same version in subject | expand

Commit Message

Daniel Turull Sept. 18, 2026, 12:03 p.m. UTC
From: Daniel Turull <daniel.turull@ericsson.com>

In devtool upgrade now the metadata is stored in a json file and
the changelog file contains only the changelog.

Signed-off-by: Daniel Turull <daniel.turull@ericsson.com>
---
 modules/steps.py | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/modules/steps.py b/modules/steps.py
index b95472d..9d22a1a 100644
--- a/modules/steps.py
+++ b/modules/steps.py
@@ -102,8 +102,6 @@  def _append_changelog_to_commit_msg(group, opts):
         if 'changelog_text' not in p:
             continue
         text = p['changelog_text'].strip()
-        if text.startswith('Changelog for '):
-            text = text[text.index('\n') + 1:].strip()
         if len(text) > max_len:
             text = (text[:max_len] + "\n\n[Changelog truncated as it exceeds {} characters; \n"
                     "the full changelog can be found in an attachment to the AUH email]".format(max_len))