Skip to content

Commit

Permalink
ci: fix pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
lemonpole committed Nov 26, 2024
1 parent ab1cd94 commit d174db3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d174db3

Please sign in to comment.