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