Skip to content

Commit dfcd08e

Browse files
committed
improves CI
1 parent 741612c commit dfcd08e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish-package.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,10 @@ jobs:
3737
- name: Get release notes from latest commit
3838
shell: bash
3939
run: |
40+
notes="$(git log -1 --pretty=%B | sed '/^Co-authored-by:/d')"
4041
{
4142
echo "PACKAGE_RELEASE_NOTES<<EOF"
42-
git log -1 --pretty=%B
43+
printf '%s\n' "$notes"
4344
echo "EOF"
4445
} >> "$GITHUB_ENV"
4546

0 commit comments

Comments
 (0)