Skip to content

Commit

Permalink
Use jq
Browse files Browse the repository at this point in the history
  • Loading branch information
katspaugh committed Jul 5, 2023
1 parent 4fb53ec commit a421f4c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/tag-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ jobs:
run: |
NEW_VERSION=$(node -p 'require("./package.json").version')
echo "version=v$NEW_VERSION" >> $GITHUB_OUTPUT
cat > CHANGELOG.md << PR_BODY
${{ github.event.pull_request.body }}
PR_BODY
printf ${{ toJSON(github.event.pull_request.body) }} | jq > CHANGELOG.md
- name: Create a git tag
if: github.event.pull_request.merged == true
Expand Down

0 comments on commit a421f4c

Please sign in to comment.