diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 084cb18c..eda04c74 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,13 +9,11 @@ jobs: env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} steps: - - uses: google-github-actions/release-please-action@v3 + - uses: googleapis/release-please-action@v4 id: release-please with: release-type: node - package-name: "react-daisyui" - changelog-types: '[{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"chore","section":"Miscellaneous","hidden":false},{"type":"refactor","section":"Miscellaneous","hidden":false},{"type":"docs","section":"Storybook","hidden":true}]' - command: release-pr + skip-github-release: true - uses: actions/github-script@v7 if: ${{ steps.release-please.outputs.pr }} id: extract-branch @@ -46,8 +44,7 @@ jobs: id: release with: release-type: node - package-name: "react-daisyui" - command: github-release + skip-github-pull-request: true - uses: actions/checkout@v4 if: ${{ steps.release.outputs.release_created }} - uses: actions/setup-node@v4 diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 00000000..d6049f6f --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,8 @@ +{ + "changelog-types": [{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"chore","section":"Miscellaneous","hidden":false},{"type":"refactor","section":"Miscellaneous","hidden":false},{"type":"docs","section":"Storybook","hidden":true}], + "packages": { + ".": { + "package-name": "react-daisyui" + } + } +} \ No newline at end of file