Skip to content

Commit 4a803bf

Browse files
committed
Try to fix workflow.
1 parent 1a88956 commit 4a803bf

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,17 @@ jobs:
3434
run: |
3535
echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
3636
37+
- name: Debug release notes
38+
run: |
39+
if [ -f release-notes.txt ]; then
40+
cat release-notes.txt
41+
else
42+
echo "No release notes found."
43+
3744
- name: Update .csproj with version and release notes
3845
run: |
3946
if [ -f release-notes.txt ]; then
40-
RELEASE_NOTES=$(cat release-notes.txt)
47+
RELEASE_NOTES=$(cat release-notes.txt | sed 's/[\&/]/\\&/g')
4148
else
4249
RELEASE_NOTES=""
4350
fi

0 commit comments

Comments
 (0)