ci: fixed bug with release notes on github release action (#1401) #release

This commit is contained in:
Anirban Kar 2025-03-01 01:42:41 +05:30 committed by GitHub
parent 3c28e8ad88
commit 6c5d094ed7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -119,7 +119,9 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
VERSION="v${{ steps.bump_version.outputs.new_version }}"
# Save changelog to a file
echo "${{ steps.changelog.outputs.content }}" > release_notes.md
gh release create "$VERSION" \
--title "Release $VERSION" \
--notes "${{ steps.changelog.outputs.content }}" \
--notes-file release_notes.md \
--target stable