Skip to content

Commit

Permalink
fix: composer warning about missing root composer version
Browse files Browse the repository at this point in the history
Version bump will be handled by release-please

ci: updated release-please action
  • Loading branch information
lotyp committed Apr 22, 2024
1 parent ca071fa commit 73c516c
Show file tree
Hide file tree
Showing 5 changed files with 97 additions and 9 deletions.
72 changes: 72 additions & 0 deletions .github/.release-please-config.json
Original file line number Diff line number Diff line change
@@ -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
}
]
}
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 @@
{
".": "4.11.4"
}
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-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

...
11 changes: 10 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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": "*",
Expand Down
2 changes: 1 addition & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 73c516c

Please sign in to comment.