diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml new file mode 100644 index 0000000..e842c95 --- /dev/null +++ b/.github/workflows/release-please.yml @@ -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 diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 0000000..b7c9dac --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1 @@ +{".":"2.0.0"} diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 0000000..d3e3564 --- /dev/null +++ b/release-please-config.json @@ -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" + } + } +}