chore: fix changelog generation
@@ -9,15 +9,6 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- - name: Generate Changelog
- id: changelog
- uses: heinrichreimer/github-changelog-generator-action@v2.1.1
- with:
- token: ${{ secrets.GITHUB_TOKEN }}
- pullRequests: "false"
- onlyLastTag: "true"
- stripGeneratorNotice: "true"
- issuesWoLabels: "true"
- name: Checkout Repository
uses: actions/checkout@v2
with:
@@ -39,12 +30,20 @@ jobs:
- name: Create CHECKSUMS
if: steps.branch.outputs.BRANCH_NAME == 'main'
run: ( cd dist ; sha256sum -b carrier* > SHA256SUM.txt )
+ - name: Generate Changelog
+ uses: heinrichreimer/github-changelog-generator-action@v2.1.1
+ with:
+ token: ${{ secrets.GITHUB_TOKEN }}
+ pullRequests: "false"
+ onlyLastTag: "true"
+ stripGeneratorNotice: "true"
+ issuesWoLabels: "true"
- name: Release Carrier
uses: softprops/action-gh-release@v1
if: steps.branch.outputs.BRANCH_NAME == 'main'
with:
files: ./dist/*
- body: ${{steps.changelog.outputs.changelog}}
+ body_path: ./CHANGELOG.md
prerelease: "true"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
