Skip to content

Commit e3c922c

Browse files
authored
Multi-line support in changelog of Github releases (#12)
1 parent 82741e1 commit e3c922c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
id: changelog
5353
run: |
5454
# Get bullet points from last CHANGELOG entry
55-
CHANGELOG=$(git diff -U0 HEAD^ HEAD | grep '^[+]\*' | sed 's/\+//')
55+
CHANGELOG=$(git diff -U0 HEAD^ HEAD | grep '^[+][\* ]' | sed 's/\+//')
5656
# Support for multiline, see
5757
# https://github.com/actions/create-release/pull/11#issuecomment-640071918
5858
CHANGELOG="${CHANGELOG//'%'/'%25'}"

0 commit comments

Comments
 (0)