diff --git a/.github/release-please-config.json b/.github/release-please-config.json new file mode 100644 index 0000000..d07cb05 --- /dev/null +++ b/.github/release-please-config.json @@ -0,0 +1,29 @@ +{ + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", + "changelog-sections": + [ + { "type": "feat", "section": "Features" }, + { "type": "fix", "section": "Bug Fixes" }, + { "type": "perf", "section": "Performance Improvements" }, + { "type": "revert", "section": "Reverts" }, + { "type": "docs", "section": "Documentation" }, + { "type": "style", "section": "Styles", "hidden": true }, + { "type": "chore", "section": "Miscellaneous Chores", "hidden": true }, + { "type": "refactor", "section": "Code Refactoring", "hidden": true }, + { "type": "test", "section": "Tests", "hidden": true }, + { "type": "build", "section": "Build System", "hidden": true }, + { "type": "ci", "section": "Continuous Integration", "hidden": true } + ], + "plugins": [ + { + "type": "sentence-case" + } + ], + "initial-version": "2.0.2", + "include-v-in-tag": true, + "include-component-in-tag": false, + "release-type": "php", + "packages": { + ".": {} + } +} diff --git a/.github/workflows/release-please.yaml b/.github/workflows/release-please.yaml index e6e3221..1b247f1 100644 --- a/.github/workflows/release-please.yaml +++ b/.github/workflows/release-please.yaml @@ -21,10 +21,9 @@ jobs: app-id: ${{ secrets.APP_ID }} private-key: ${{ secrets.APP_PRIVATE_KEY }} - - uses: google-github-actions/release-please-action@v2 + - uses: google-github-actions/release-please-action@v4 id: release with: token: ${{ steps.app-token.outputs.token }} - package-name: "" release-type: php - default-branch: main + config-file: .github/release-please-config.json diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 0000000..47fb725 --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "2.0.2" +}