From 6c5d094ed768f3f4b223682cce7fa28a3dd83b45 Mon Sep 17 00:00:00 2001 From: Anirban Kar Date: Sat, 1 Mar 2025 01:42:41 +0530 Subject: [PATCH] ci: fixed bug with release notes on github release action (#1401) #release --- .github/workflows/update-stable.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-stable.yml b/.github/workflows/update-stable.yml index a867a4c4..f990968a 100644 --- a/.github/workflows/update-stable.yml +++ b/.github/workflows/update-stable.yml @@ -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