Skip to content

Commit

Permalink
build: add support for release-please (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
damienwebdev authored Feb 7, 2024
1 parent 104fd5d commit 1e8ec61
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Create Release

on:
push:
branches:
- master

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
with:
token: ${{ secrets.GRAYCORE_GITHUB_TOKEN }}
command: manifest
default-branch: master
1 change: 1 addition & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{".":"2.0.0"}
15 changes: 15 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"bootstrap-sha": "e65e6708a9ac8cbe9835b99ffc60a8f307e1310f",
"bump-minor-pre-major": true,
"bump-patch-for-minor-pre-major": true,
"draft-pull-request": true,
"prerelease": true,
"include-component-in-tag": false,
"include-v-in-tag": true,
"pull-request-title-pattern": "chore: release ${version}",
"packages": {
".": {
"release-type": "php"
}
}
}

0 comments on commit 1e8ec61

Please sign in to comment.