Skip to content

Commit 84d0a6a

Browse files
committed
Fix backslash escaping in release notes
1 parent 2c2b97d commit 84d0a6a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release-notes.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
ConvertFrom-Json |
4343
select -ExpandProperty id
4444
45-
$notes = (Get-Content .\changelog.md | where { !($_ -like '\*') } | %{ $_.replace('\#', '\\#') }) -join '\n'
45+
$notes = (Get-Content .\changelog.md | where { !($_ -like '\*') } | %{ $_.replace('\', '\\') }) -join '\n'
4646
$headers = @{ 'Accept'='application/vnd.github.v3+json;charset=utf-8'; 'Authorization' = "bearer $env:GITHUB_TOKEN" }
4747
$body = '{ "body":"' + $notes + '" }'
4848

.netconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
weak
101101
[file ".github/workflows/release-notes.yml"]
102102
url = https://github.com/devlooped/oss/blob/main/.github/workflows/release-notes.yml
103-
etag = e997e6e7bfd4d850a3554d4232562075a89cf7713a8cec4aef483f2bd6f3c10a
103+
etag = c987e5b93b002c5a2a63304f677eb969b7b6e274b77ef4392aeef4d9ca7e10dd
104104
weak
105105
[file "assets/images/sponsors.png"]
106106
url = https://github.com/devlooped/oss/blob/main/assets/images/sponsors.png

0 commit comments

Comments
 (0)