From ae3b5e75fe7de784db9d1122ec0d2d7e95c26816 Mon Sep 17 00:00:00 2001 From: Chris Burr Date: Fri, 19 Feb 2021 16:55:23 +0100 Subject: [PATCH] More tidying of automatic release notes --- scripts/make_release.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/scripts/make_release.py b/scripts/make_release.py index 93743b0..78fbfa0 100755 --- a/scripts/make_release.py +++ b/scripts/make_release.py @@ -260,12 +260,12 @@ def make_release(installer, environment_yaml, version, commit_hash, release_note release_notes = "\n".join( [ - f"# DIRACOS {version}", - "", "## Release notes", + "", release_notes, "", "## Package list", + "", "
", " Click to expand!", "", @@ -275,6 +275,7 @@ def make_release(installer, environment_yaml, version, commit_hash, release_note "
", "", f"## Changes with respect to {previous_version} ignoring build strings", + "", "
", " Click to expand!", "", @@ -284,6 +285,7 @@ def make_release(installer, environment_yaml, version, commit_hash, release_note "
", "", f"## Full changes with respect to {previous_version}", + "", "
", " Click to expand!", "", @@ -298,7 +300,7 @@ def make_release(installer, environment_yaml, version, commit_hash, release_note r = requests.post( f"{api_root}/releases", json={ - "name": version, + "name": f"DIRACOS {version}", "tag_name": version, "target_commitish": commit_hash, "body": release_notes,