Skip to content

Commit

Permalink
Fix backslash escaping in release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
kzu committed Feb 1, 2021
1 parent 2c2b97d commit 84d0a6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
ConvertFrom-Json |
select -ExpandProperty id
$notes = (Get-Content .\changelog.md | where { !($_ -like '\*') } | %{ $_.replace('\#', '\\#') }) -join '\n'
$notes = (Get-Content .\changelog.md | where { !($_ -like '\*') } | %{ $_.replace('\', '\\') }) -join '\n'
$headers = @{ 'Accept'='application/vnd.github.v3+json;charset=utf-8'; 'Authorization' = "bearer $env:GITHUB_TOKEN" }
$body = '{ "body":"' + $notes + '" }'
Expand Down
2 changes: 1 addition & 1 deletion .netconfig
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
weak
[file ".github/workflows/release-notes.yml"]
url = https://github.com/devlooped/oss/blob/main/.github/workflows/release-notes.yml
etag = e997e6e7bfd4d850a3554d4232562075a89cf7713a8cec4aef483f2bd6f3c10a
etag = c987e5b93b002c5a2a63304f677eb969b7b6e274b77ef4392aeef4d9ca7e10dd
weak
[file "assets/images/sponsors.png"]
url = https://github.com/devlooped/oss/blob/main/assets/images/sponsors.png
Expand Down

0 comments on commit 84d0a6a

Please sign in to comment.