Skip to content

Commit

Permalink
feat: laravel 11.x support
Browse files Browse the repository at this point in the history
  • Loading branch information
lotyp committed Jun 13, 2024
1 parent d4223b6 commit 6c41390
Show file tree
Hide file tree
Showing 6 changed files with 3,177 additions and 1,579 deletions.
73 changes: 73 additions & 0 deletions .github/.release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"release-type": "php",
"packages": {
".": {
"package-name": "laravel-cycle-orm-event-sourcing",
"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
}
]
}
3 changes: 3 additions & 0 deletions .github/.release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "1.2.81"
}
18 changes: 11 additions & 7 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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-event-sourcing
secrets:
token: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
runs-on: ubuntu-latest
steps:
- name: 🎉 Create release
uses: googleapis/[email protected]
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

...
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
"ext-decimal": "*",
"ext-json": "*",
"beberlei/assert": "^3.3",
"eventsauce/eventsauce": "^3.4",
"illuminate/contracts": "^10.13"
"eventsauce/eventsauce": "^3.6",
"illuminate/contracts": "^10.13 || ^11.0"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.31",
"nunomaduro/larastan": "^2.6",
"ergebnis/composer-normalize": "^2.42",
"larastan/larastan": "^2.9",
"orchestra/testbench": "^8.5",
"pestphp/pest": "^2.6",
"pestphp/pest-plugin-laravel": "^2.0",
Expand Down
Loading

0 comments on commit 6c41390

Please sign in to comment.