Skip to content

Commit

Permalink
Fix releases workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints committed Feb 1, 2024
1 parent 4d4a760 commit 6ded1b8
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,14 @@ jobs:

- name: Cleanup release notes
run: |
sed -i '/## What\'\''s Changed/q' ${{ steps.notes.outputs.release-notes }}
sed -i '/## Contributors/,$d' ${{ steps.notes.outputs.release-notes }}
sed -i '/## What'"'"'s Changed/d' ${{ steps.notes.outputs.release-notes }}
sed -i '/## New Contributors/,//d' ${{ steps.notes.outputs.release-notes }}
- name: Create release
id: create_release
uses: actions/create-release@v1
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ steps.version.outputs.version }}
release_name: v${{ steps.version.outputs.version }}
name: v${{ steps.version.outputs.version }}
body: ${{ steps.notes.outputs.release-notes }}

0 comments on commit 6ded1b8

Please sign in to comment.