diff --git a/release-please-config.json b/.github/release-please-config.json similarity index 54% rename from release-please-config.json rename to .github/release-please-config.json index 7fc076e..1ea8aa2 100644 --- a/release-please-config.json +++ b/.github/release-please-config.json @@ -1,10 +1,20 @@ { - "$schema": "https://raw.githubusercontent.com/googleapis/release-please/refs/heads/main/schemas/config.json", + "packages": { + ".": { + "changelog-path": "CHANGELOG.md", + "release-type": "python", + "bump-minor-pre-major": false, + "bump-patch-for-minor-pre-major": false, + "draft": false, + "prerelease": false + } + }, "changelog-sections": [ { "type": "build", "section": "Build System" }, { "type": "docs", "section": "Documentation" }, { "type": "feat", "section": "Features" }, { "type": "fix", "section": "Bug Fixes" }, { "type": "perf", "section": "Performance" } - ] + ], + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json" } diff --git a/.github/release-please-manifest.json b/.github/release-please-manifest.json new file mode 100644 index 0000000..8a45bd5 --- /dev/null +++ b/.github/release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "2.3.4" +} \ No newline at end of file diff --git a/.github/workflows/release-please.yaml b/.github/workflows/release-please.yaml index 544383e..6e45ccc 100644 --- a/.github/workflows/release-please.yaml +++ b/.github/workflows/release-please.yaml @@ -19,7 +19,8 @@ jobs: - uses: googleapis/release-please-action@v4 id: release with: - release-type: python + config-file: .github/release-please-config.json + manifest-file: .github/release-please-manifest.json publish: runs-on: ubuntu-latest