diff --git a/.github/.release-please-config.json b/.github/.release-please-config.json new file mode 100644 index 00000000..c20a30de --- /dev/null +++ b/.github/.release-please-config.json @@ -0,0 +1,72 @@ +{ + "release-type": "php", + "packages": { + ".": { + "package-name": "laravel-cycle-orm-adapter", + "changelog-path": "/CHANGELOG.md" + } + }, + "include-component-in-tag": false, + "changelog-sections": [ + { + "type": "feat", + "section": "Features", + "hidden": false + }, + { + "type": "fix", + "section": "Bug Fixes", + "hidden": false + }, + { + "type": "perf", + "section": "Performance Improvements", + "hidden": false + }, + { + "type": "docs", + "section": "Documentation", + "hidden": false + }, + { + "type": "deps", + "section": "Dependencies", + "hidden": false + }, + { + "type": "refactor", + "section": "Code Refactoring", + "hidden": false + }, + { + "type": "test", + "section": "Tests", + "hidden": true + }, + { + "type": "build", + "section": "Build System", + "hidden": true + }, + { + "type": "ci", + "section": "Continuous Integration", + "hidden": true + }, + { + "type": "chore", + "section": "Miscellaneous", + "hidden": true + }, + { + "type": "style", + "section": "Styles", + "hidden": true + }, + { + "type": "revert", + "section": "Reverts", + "hidden": true + } + ] +} diff --git a/.github/.release-please-manifest.json b/.github/.release-please-manifest.json new file mode 100644 index 00000000..699defc7 --- /dev/null +++ b/.github/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "4.11.4" +} diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index e6d5dce5..e1245aa4 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -2,6 +2,7 @@ # https://github.com/wayofdev/gh-actions/blob/master/.github/workflows/create-release.yml # https://github.com/google-github-actions/release-please-action#release-types-supported +# https://github.com/googleapis/release-please/blob/main/docs/customizing.md on: # yamllint disable-line rule:truthy push: @@ -12,12 +13,15 @@ name: 📦 Create release jobs: release: - uses: wayofdev/gh-actions/.github/workflows/create-release.yml@master - with: - os: ubuntu-latest - branch: master - package-name: laravel-cycle-orm-adapter - secrets: - token: ${{ secrets.PERSONAL_GITHUB_TOKEN }} + runs-on: ubuntu-latest + steps: + - name: 🎉 Create release + uses: google-github-actions/release-please-action@v4 + id: release + with: + token: ${{ secrets.PERSONAL_GITHUB_TOKEN }} + config-file: .github/.release-please-config.json + manifest-file: .github/.release-please-manifest.json + target-branch: master ... diff --git a/composer.json b/composer.json index a02b2854..1d535a97 100644 --- a/composer.json +++ b/composer.json @@ -3,6 +3,7 @@ "description": "🔥 A Laravel adapter for CycleORM, providing seamless integration of the Cycle DataMapper ORM for advanced database handling and object mapping in PHP applications.", "license": "MIT", "type": "library", + "version": "4.11.4", "keywords": [ "php", "php8", @@ -31,8 +32,16 @@ "homepage": "https://laravel-cycle-orm-adapter.wayof.dev", "support": { "issues": "https://github.com/wayofdev/laravel-cycle-orm-adapter/issues", - "source": "https://github.com/wayofdev/laravel-cycle-orm-adapter" + "chat": "https://discord.gg/CE3TcCC5vr", + "source": "https://github.com/wayofdev/laravel-cycle-orm-adapter", + "docs": "https://laravel-cycle-orm-adapter.wayof.dev" }, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/wayofdev" + } + ], "require": { "php": "^8.2", "ext-pdo": "*", diff --git a/composer.lock b/composer.lock index d8b2a180..24001049 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "5431628d651cf479222b4c7ffba83cdb", + "content-hash": "b4cb78c7c0035c8698061af69f91ce32", "packages": [ { "name": "brick/math",