From 36e3f653572ee98d8bc35eb88721f8886fea38fa Mon Sep 17 00:00:00 2001 From: Daniel La Rocque Date: Wed, 15 May 2024 15:46:52 -0400 Subject: [PATCH] Add release notes link and header to beginning of releasen notes --- .github/workflows/release-prod.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-prod.yml b/.github/workflows/release-prod.yml index e207493699c..8a079fb03e9 100644 --- a/.github/workflows/release-prod.yml +++ b/.github/workflows/release-prod.yml @@ -139,9 +139,13 @@ jobs: --base "release" \ --limit 1 \ --json "body" \ - | jq '.[].body'\ + | jq '.[].body' \ | jq -r . \ - | sed '1,/^# Releases/d') + | sed '1,/^# Releases/d' \ + ) + + # Prepend the Firebase release notes link and header + RELEASE_NOTES="For more detailed release notes, see [Firebase JavaScript SDK Release Notes](https://firebase.google.com/support/release-notes/js).\n\n# What's Changed\n\n${RELEASE_NOTES}" # Create the GitHub release gh release create "$NEWEST_TAG" \