Skip to content

Commit

Permalink
Try fixing release notes again
Browse files Browse the repository at this point in the history
  • Loading branch information
jfhbrook committed Aug 30, 2024
1 parent be2a3bb commit 622a18e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
path: _build/man
- name: Build Release Notes
# thanks to https://gist.github.com/Integralist/57accaf446cf3e7974cd01d57158532c
run: awk '/^##/ {block++} {if (block == 1) { print }}' CHANGELOG.md > RELEASE_NOTES.md
run: mkdir notes && awk '/^##/ {block++} {if (block == 1) { print }}' CHANGELOG.md > notes/RELEASE.md
- name: Store Release Notes
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -105,4 +105,4 @@ jobs:
GITHUB_TOKEN: ${{ github.TOKEN }}
shell: bash
run: |
gh release create 'v${{ needs.versions.outputs.release-version }}' --title 'Release v${{ needs.versions.outputs.release-version }}' --notes "$(cat notes/RELEASE_NOTES.md)" dist/* man/pyee.1
gh release create 'v${{ needs.versions.outputs.release-version }}' --title 'Release v${{ needs.versions.outputs.release-version }}' --notes "$(cat notes/RELEASE.md)" dist/* man/pyee.1

0 comments on commit 622a18e

Please sign in to comment.