Skip to content

Commit

Permalink
Merge pull request #17 from chrisburr/more-release-notes-tidying
Browse files Browse the repository at this point in the history
More tidying of automatic release notes
  • Loading branch information
chrisburr authored Feb 19, 2021
2 parents 15d7a8f + ae3b5e7 commit 73f2c09
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions scripts/make_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
"",
"<details>",
" <summary>Click to expand!</summary>",
"",
Expand All @@ -275,6 +275,7 @@ def make_release(installer, environment_yaml, version, commit_hash, release_note
"</details>",
"",
f"## Changes with respect to {previous_version} ignoring build strings",
"",
"<details>",
" <summary>Click to expand!</summary>",
"",
Expand All @@ -284,6 +285,7 @@ def make_release(installer, environment_yaml, version, commit_hash, release_note
"</details>",
"",
f"## Full changes with respect to {previous_version}",
"",
"<details>",
" <summary>Click to expand!</summary>",
"",
Expand All @@ -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,
Expand Down

0 comments on commit 73f2c09

Please sign in to comment.