Skip to content

Commit 73f2c09

Browse files
authored
Merge pull request #17 from chrisburr/more-release-notes-tidying
More tidying of automatic release notes
2 parents 15d7a8f + ae3b5e7 commit 73f2c09

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

scripts/make_release.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -260,12 +260,12 @@ def make_release(installer, environment_yaml, version, commit_hash, release_note
260260

261261
release_notes = "\n".join(
262262
[
263-
f"# DIRACOS {version}",
264-
"",
265263
"## Release notes",
264+
"",
266265
release_notes,
267266
"",
268267
"## Package list",
268+
"",
269269
"<details>",
270270
" <summary>Click to expand!</summary>",
271271
"",
@@ -275,6 +275,7 @@ def make_release(installer, environment_yaml, version, commit_hash, release_note
275275
"</details>",
276276
"",
277277
f"## Changes with respect to {previous_version} ignoring build strings",
278+
"",
278279
"<details>",
279280
" <summary>Click to expand!</summary>",
280281
"",
@@ -284,6 +285,7 @@ def make_release(installer, environment_yaml, version, commit_hash, release_note
284285
"</details>",
285286
"",
286287
f"## Full changes with respect to {previous_version}",
288+
"",
287289
"<details>",
288290
" <summary>Click to expand!</summary>",
289291
"",
@@ -298,7 +300,7 @@ def make_release(installer, environment_yaml, version, commit_hash, release_note
298300
r = requests.post(
299301
f"{api_root}/releases",
300302
json={
301-
"name": version,
303+
"name": f"DIRACOS {version}",
302304
"tag_name": version,
303305
"target_commitish": commit_hash,
304306
"body": release_notes,

0 commit comments

Comments
 (0)