diff --git a/.github/.release-please-config.json b/.github/.release-please-config.json new file mode 100644 index 0000000..d691f2b --- /dev/null +++ b/.github/.release-please-config.json @@ -0,0 +1,80 @@ +{ + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", + "release-type": "php", + "packages": { + ".": { + "package-name": "spiral/roadrunner-cli", + "changelog-path": "/CHANGELOG.md" + } + }, + "bootstrap-sha": "54909d3fff22d34d1a6e894785f3df9dca0e2e8c", + "include-component-in-tag": false, + "include-v-in-tag": true, + "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": "tests", + "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/version.json b/.github/version.json new file mode 100644 index 0000000..889b49d --- /dev/null +++ b/.github/version.json @@ -0,0 +1,3 @@ +{ + ".": "2.7.2" +} diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml new file mode 100644 index 0000000..ac92921 --- /dev/null +++ b/.github/workflows/create-release.yml @@ -0,0 +1,27 @@ +# https://github.com/googleapis/release-please-action#release-types-supported +# https://github.com/googleapis/release-please/blob/main/docs/customizing.md + +on: # yamllint disable-line rule:truthy + push: + branches: + - 2.x + +name: 📦 Create release + +permissions: + contents: write + issues: write + pull-requests: write + +jobs: + release: + runs-on: ubuntu-latest + steps: + - name: 🎉 Create release + uses: googleapis/release-please-action@v4 + id: release + with: + token: ${{ secrets.GITHUB_TOKEN }} + config-file: .github/.release-please-config.json + manifest-file: .github/version.json + target-branch: 2.x