diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml new file mode 100644 index 00000000..4c1b925f --- /dev/null +++ b/.github/workflows/release-please.yml @@ -0,0 +1,20 @@ +name: Release Please + +on: + push: + branches: + - main + +permissions: + contents: write + pull-requests: write + issues: write + +jobs: + release-please: + runs-on: ubuntu-latest + steps: + - uses: googleapis/release-please-action@v4 + id: release + with: + token: ${{ github.token }} \ No newline at end of file diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 00000000..fea34540 --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "1.0.0" +} \ No newline at end of file diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 00000000..10703f99 --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,82 @@ +{ + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", + "release-type": "simple", + "include-component-in-tag": false, + "packages": { + ".": { + "extra-files": [ + { + "type": "json", + "path": "apps/api/package.json", + "jsonpath": "version" + }, + { + "type": "json", + "path": "apps/dashboard/package.json", + "jsonpath": "version" + }, + { + "type": "json", + "path": "apps/docs/package.json", + "jsonpath": "version" + }, + { + "type": "json", + "path": "apps/public/package.json", + "jsonpath": "version" + }, + { + "type": "json", + "path": "apps/worker/package.json", + "jsonpath": "version" + }, + { + "type": "json", + "path": "self-hosting/package.json", + "jsonpath": "version" + } + ] + } + }, + "changelog-sections": [ + { + "type": "feat", + "section": "Features" + }, + { + "type": "fix", + "section": "Fixes" + }, + { + "type": "docs", + "section": "Documentation" + }, + { + "type": "style", + "section": "Styling" + }, + { + "type": "refactor", + "section": "Code Refactoring" + }, + { + "type": "perf", + "section": "Performance Improvements" + }, + { + "type": "test", + "section": "Tests", + "hidden": true + }, + { + "type": "build", + "section": "Build System", + "hidden": true + }, + { + "type": "ci", + "section": "Continuous Integration", + "hidden": true + } + ] +}