Skip to content

Commit 05a09a6

Browse files
committed
fix(release): keep line breaks in release notes when adding attestation URL
1 parent 655f09b commit 05a09a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/build-release-zip-file.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
$ErrorActionPreference = "Stop"
8181
8282
# get current release notes
83-
$oldBody = gh release view $env:TAG --repo $env:REPO --json body --template "{{.body}}"
83+
$oldBody = (gh release view $env:TAG --repo $env:REPO --json body --template "{{.body}}") -join "`n"
8484
8585
# build Attestation URL
8686
$attestationId = "${{ steps.attestation.outputs.attestation-id }}"

0 commit comments

Comments
 (0)