mirror of
https://github.com/unraid/api.git
synced 2026-01-06 16:49:49 -06:00
chore: fix release notes not using new lines
This commit is contained in:
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user