diff --git a/.github/workflows/release-go-module.yml b/.github/workflows/release-go-module.yml index ef2e01382..f52f9521d 100644 --- a/.github/workflows/release-go-module.yml +++ b/.github/workflows/release-go-module.yml @@ -102,11 +102,11 @@ jobs: RELEASE_NOTES=$(cat ".changeset/${{ env.VERSION }}.md") # Format the release notes and breaking changes into FULL_RELEASE_NOTES - echo "FULL_RELEASE_NOTES<> $GITHUB_ENV - echo "## Release notes:" >> $GITHUB_ENV - echo "$RELEASE_NOTES" >> $GITHUB_ENV - echo "" >> $GITHUB_ENV - echo "## Commits:" >> $GITHUB_ENV + echo "FULL_RELEASE_NOTES<> "$GITHUB_ENV" + echo "## Release notes:" >> "$GITHUB_ENV" + echo "$RELEASE_NOTES" >> "$GITHUB_ENV" + echo "" >> "$GITHUB_ENV" + echo "## Commits:" >> "$GITHUB_ENV" echo "${{ env.COMMITS }}" >> "$GITHUB_ENV" echo "" >> $GITHUB_ENV echo "## Breaking changes:" >> "$GITHUB_ENV"