We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b691c0 commit 2d2cbe7Copy full SHA for 2d2cbe7
1 file changed
.github/workflows/publish-release.yml
@@ -50,8 +50,8 @@ jobs:
50
- name: Extract Latest Release Notes
51
shell: bash
52
run: |
53
- # Extract content between the first two "# Release Notes" headers
54
- sed -n '/^# Release Notes - v/{p;n;:a;n;/^# Release Notes - v/q;p;ba}' RELEASE_NOTES.md > LATEST_RELEASE_NOTES.md
+ # Extract content between the first and second "# Release Notes" headers using portable awk
+ awk '/^# Release Notes - v/ { if (n++) exit } { if (n) print }' RELEASE_NOTES.md > LATEST_RELEASE_NOTES.md
55
56
- name: Upload Release Asset
57
uses: softprops/action-gh-release@v2
0 commit comments