From 622a18e5b452420b325337c4a5065c9b96dd2319 Mon Sep 17 00:00:00 2001 From: Josh Holbrook Date: Fri, 30 Aug 2024 11:23:51 -0800 Subject: [PATCH] Try fixing release notes again --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 82c74a9..9c31ab6 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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: @@ -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