diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 394c64f..dec6f41 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,7 +19,11 @@ jobs: - run: npm ci - run: mkdir plugins && cp -r generated/* plugins/ && cp -r config/* plugins/ - run: zip -rq plugins-${{ github.ref_name }}.zip plugins/ + - run: npx -y conventional-changelog-cli -p conventionalcommits > CHANGELOG.md - id: create_release - run: gh release create ${{ github.ref_name }} --title "${{ github.ref_name }}" + run: > + gh release create ${{ github.ref_name }} + --title "${{ github.ref_name }}" + --notes-file CHANGELOG.md - if: success() && steps.create_release.outcome == 'success' run: gh release upload ${{ github.ref_name }} plugins-*.zip --clobber