Merge pull request #2304 from fluxcd/fix-release-notes-gen

ci: Fix release notes generator
pull/2305/head
Stefan Prodan 3 years ago committed by GitHub
commit 809cb79828
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -67,9 +67,9 @@ jobs:
run: cd /tmp && curl -sSL ${GH_REL_URL} | tar xz && sudo mv github-release-notes /usr/local/bin/ run: cd /tmp && curl -sSL ${GH_REL_URL} | tar xz && sudo mv github-release-notes /usr/local/bin/
- name: Generate release notes - name: Generate release notes
run: | run: |
$NOTES="./output/notes.md" NOTES="./output/notes.md"
echo '## CLI Changelog' > ${$NOTES} echo '## CLI Changelog' > ${NOTES}
github-release-notes -org fluxcd -repo flux2 -since-latest-release -include-author >> ${$NOTES} github-release-notes -org fluxcd -repo flux2 -since-latest-release -include-author >> ${NOTES}
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run GoReleaser - name: Run GoReleaser

Loading…
Cancel
Save