We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fde1f6f commit 2b73cb3Copy full SHA for 2b73cb3
.github/workflows/release-notes.yml
@@ -42,7 +42,7 @@ jobs:
42
ConvertFrom-Json |
43
select -ExpandProperty id
44
45
- $notes = (Get-Content .\changelog.md | where { !($_ -like '\*') } | %{ $_.replace('\', '\\') }) -join '\n'
+ $notes = (Get-Content .\changelog.md | where { !($_ -like '\*') } | %{ $_.replace('\', '\\').replace('"', '\"') }) -join '\n'
46
$headers = @{ 'Accept'='application/vnd.github.v3+json;charset=utf-8'; 'Authorization' = "bearer $env:GITHUB_TOKEN" }
47
$body = '{ "body":"' + $notes + '" }'
48
@@ -53,4 +53,4 @@ jobs:
53
iwr -Body $body "$env:GITHUB_API_URL/repos/$env:GITHUB_REPOSITORY/releases/$id" -Method PATCH -Headers $headers |
54
select -ExpandProperty Content |
55
56
- ConvertTo-Json
+ ConvertTo-Json
0 commit comments