Skip to content

Commit 2df1976

Browse files
committed
MOD: Update workflow for new release format
1 parent 601cffd commit 2df1976

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
echo "RELEASE_NAME=$(poetry version)" >> $GITHUB_ENV
2828
echo "TAG_NAME=v$(poetry version -s)" >> $GITHUB_ENV
2929
echo "## Release notes" > NOTES.md
30-
sed -n '4,/^$/p' CHANGELOG.md >> NOTES.md
30+
sed -n '/^## /{n; :a; /^## /q; p; n; ba}' CHANGELOG.md >> NOTES.md
3131
3232
- name: Release
3333
uses: softprops/action-gh-release@v1

0 commit comments

Comments
 (0)