diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index b0539ad..9ba41ec 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,5 +1,2 @@ template: | - ## What's changed -replacers: - - search: '|||' - replace: '
' \ No newline at end of file + ## What's changed \ No newline at end of file diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 65305a6..b3dcc13 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -46,7 +46,7 @@ jobs: with urllib.request.urlopen(req_com) as f: com = json.loads(f.read()) - changes = "|||".join(["* {} ({})".format(next(iter(c["commit"]["message"].split("\n"))), c["sha"]) for c in com]) + changes = "%0A".join(["* {} ({})".format(next(iter(c["commit"]["message"].split("\n"))), c["sha"]) for c in com[:-1]]) print(f"::set-output name=changes::{changes}") print(f"Changes set to:\n{changes}") # Drafts your next Release notes as Pull Requests are merged into "master"