Skip to content

Commit

Permalink
Fixes release.yaml
Browse files Browse the repository at this point in the history
Outputs the notes to a file instead of an environment variable.
  • Loading branch information
coordt committed Apr 22, 2023
1 parent e1945c4 commit 01870d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ jobs:
if [ -n "$content" ]; then
echo "::notice::Found release notes for ${target_version}"
echo "RELEASE_NOTES=$content" >> $GITHUB_ENV
echo "$content" >> release-notes.md
else
echo "::warning::Did not find release notes for ${target_version}"
echo "RELEASE_NOTES=" >> $GITHUB_ENV
touch release-notes.md
fi
- name: Download packages built by build-and-inspect-python-package
Expand All @@ -72,7 +72,7 @@ jobs:
with:
files: dist/*
tag_name: "${{ env.TAG_NAME }}"
body: "${{ env.RELEASE_NOTES }}"
body_path: release-notes.md

# Upload to real PyPI on GitHub Releases.
release-pypi:
Expand Down

0 comments on commit 01870d5

Please sign in to comment.