chore: fix release notes not using new lines

This commit is contained in:
Alexis Tyler
2021-07-05 16:07:42 +09:30
parent a92cf89bf5
commit bafc885daf

View File

@@ -14,7 +14,7 @@ jobs:
steps:
- name: Validate branch and tag
run: exit 0
lint:
runs-on: ubuntu-latest
@@ -230,7 +230,7 @@ jobs:
# Get all the commit messages between now and the last tag
RELEASE_NOTES=$(git log "$LAST_RELEASE...HEAD" --pretty=format:"- %s [\`%h\`](http://github.com/$GITHUB_REPOSITORY/commit/%H)" --reverse) \
# 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