Skip to content

Commit

Permalink
ci: fix autochangelog (#2281)
Browse files Browse the repository at this point in the history
  • Loading branch information
theo-mesnil authored Sep 20, 2023
1 parent 4a3c6eb commit cbca80b
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build
shell: bash
run: |
{
echo 'CHANGELOG_BODY<<EOF'
npx extract-changelog-release
echo EOF
} >> "$GITHUB_ENV"
- name: Get
run: echo "CHANGELOG_BODY=$(npx extract-changelog-release)" >> $GITHUB_ENV
- name: Test
run: echo ${{ env.CHANGELOG_BODY }}
- name: Pre-release
uses: softprops/action-gh-release@v1
if: contains(github.ref, '-') == true
Expand Down

0 comments on commit cbca80b

Please sign in to comment.