From e01f94b5bb8dc9f9da1bc662d1e587a31b170e8f Mon Sep 17 00:00:00 2001 From: Ari Nguyen Date: Tue, 29 Sep 2026 14:03:18 -0700 Subject: [PATCH] fix(release): stop marking python releases as prereleases release-please-config.json carried "prerelease": true and "versioning": "prerelease". Both have been in the file since at least agentex-client-v0.25.0, but nothing honoured them: the hosted generator cut python releases its own way, and 0.28.1 was cut by hand. So every python release through 0.28.1 was a normal release. 0.28.2 was the first release cut by release-please reading this file, and it did exactly what the file said -- it marked both GitHub Releases as prereleases. GitHub skips prereleases when choosing the latest release, so "latest" stayed on agentex-sdk-v0.28.1. PyPI was unaffected, since 0.28.2 is a final version string there. This target ships plain 0.x.y versions, which is what stainless.yml's `publish.release.prerelease: false` says. That setting only shapes the generated release-please workflow, though; this config is preserved from the branch rather than regenerated, so the intent never reached it. Dropping `versioning: prerelease` as well puts release-please on its default strategy. With the bump-minor-pre-major and bump-patch-for-minor-pre-major settings already here, that gives fix -> patch and feat -> minor, matching the version history. The prerelease strategy only behaves differently when the current version carries a prerelease suffix, which python's never has. The two 0.28.2 releases already created were corrected directly. Co-Authored-By: Claude Opus 5.5 --- release-please-config.json | 2 -- 1 file changed, 2 deletions(-) diff --git a/release-please-config.json b/release-please-config.json index 88c752298..f6a64f92e 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -23,8 +23,6 @@ "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", "include-v-in-tag": true, "include-component-in-tag": true, - "versioning": "prerelease", - "prerelease": true, "bump-minor-pre-major": true, "bump-patch-for-minor-pre-major": false, "pull-request-header": "Automated Release PR",