Skip to content

Commit

Permalink
fix(dev): workflow issues hopefully fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
tpkowastaken committed Nov 20, 2023
1 parent 29eafbc commit 8621e4b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/pub-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,12 @@ jobs:
- name: Extract release notes
id: extract-release-notes
run: |
# Extract contents from the top until the second header
FILE_CONTENTS=$(sed -n '/^## /q;p' CHANGELOG.md)
FILE_CONTENTS=$(awk '/^## /{if(++n==2)exit} {print}' CHANGELOG.md)
echo "::set-output name=contents::${FILE_CONTENTS}"
- name: Update Release Description
uses: softprops/action-gh-release@v1
with:
files: ""
token: ${{ secrets.GITHUB_TOKEN }}
body: |
${{ steps.extract-release-notes.outputs.contents }}
Expand Down

0 comments on commit 8621e4b

Please sign in to comment.