From d5f4f07acc3fe6d6010d16f6651dd1934ec112db Mon Sep 17 00:00:00 2001 From: Alexis Tyler Date: Mon, 5 Jul 2021 16:16:52 +0930 Subject: [PATCH] chore: fix release notes not using new lines --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index aa9d33391..04afc981c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -285,7 +285,7 @@ jobs: # Get all the commit messages between now and the last non-pre-release tag RELEASE_NOTES=$(git log "$LAST_RELEASE...HEAD" --pretty=format:"- %s [\`%h\`](http://github.com/$GITHUB_REPOSITORY/commit/%H)" --reverse | sed \$d) \ # Save release notes to a file - echo $RELEASE_NOTES > ${{ github.workspace }}/RELEASE_NOTES.md && \ + echo "$RELEASE_NOTES" > ${{ github.workspace }}/RELEASE_NOTES.md && \ # Log release notes cat ${{ github.workspace }}/RELEASE_NOTES.md