ci: build release description from commit history (#74)

This commit is contained in:
David Dollar 2020-01-13 15:32:57 -05:00 committed by GitHub
parent 6183a32dad
commit 5b5b02ef86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ jobs:
- name: changelog
id: changelog
run: |
changelog=$(git log --pretty="* %s" `git describe --abbrev=0 --tags \`git describe --abbrev=0 \`HEAD`...`git describe --abbrev=0`)
changelog=$(git log --pretty="* %s" ...$(git describe --abbrev=0 HEAD~))
echo ${changelog}
changelog="${changelog//'%'/'%25'}"
changelog="${changelog//$'\n'/'%0A'}"