Skip to content

Commit 69a3519

Browse files
committed
Read release notes from file to avoid quoting issues
1 parent 5304ab3 commit 69a3519

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/wheels.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -399,14 +399,14 @@ jobs:
399399
- name: Write release notes
400400
working-directory: main
401401
run: |
402-
NOTES=$(uv run tools/release_notes --store build.json --template templates/release.md)
403-
echo "NOTES=${NOTES}" >>$GITHUB_ENV
402+
uv run tools/release_notes --store build.json --template templates/release.md >../release.md
404403
405404
- name: Release wheels
405+
working-directory: main
406406
env:
407407
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
408408
run: |
409-
gh release create "${VERSION}" --title "${VERSION}" --notes "${NOTES}" wheelhouse/*
409+
gh release create "${VERSION}" --title "${VERSION}" --notes-file ../release.md ../wheelhouse/*
410410
411411
- name: Generate index
412412
working-directory: main

0 commit comments

Comments
 (0)