Skip to content

Commit

Permalink
Update Changelog action in release.yml
Browse files Browse the repository at this point in the history
Trying ocavue/changelog-parser-action@v1 instead of
statamic/changelog-action@v1
  • Loading branch information
kelvinmo committed Feb 18, 2022
1 parent cdd5302 commit 9f8cc96
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,16 +64,30 @@ jobs:
input_string: ${{ github.ref }}
version_extractor_regex: '\/v(.*)$'

# - name: Get Changelog
# id: changelog
# uses: statamic/changelog-action@v1
# with:
# version: ${{ github.ref }}

# - name: Create Github release
# uses: ncipollo/release-action@v1
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
# artifacts: jwkstool.phar
# body: ${{ steps.changelog.outputs.text }}
# prerelease: ${{ !!steps.semver.outputs.prerelease }}

- name: Get Changelog
id: changelog
uses: statamic/changelog-action@v1
uses: ocavue/changelog-parser-action@v1
with:
version: ${{ github.ref }}
removeMarkdown: false

- name: Create Github release
uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
artifacts: jwkstool.phar
body: ${{ steps.changelog.outputs.text }}
body: ${{ steps.changelog.outputs.latestBody }}
prerelease: ${{ !!steps.semver.outputs.prerelease }}

0 comments on commit 9f8cc96

Please sign in to comment.