From f71935b7f00c82811658e88ee988dcbfd6bbc2f6 Mon Sep 17 00:00:00 2001 From: zsol-openai Date: Tue, 6 Oct 2026 17:00:19 +0000 Subject: [PATCH] Skip stable installer alias publishing for prereleases (#51425) ## What changed Require `--prerelease false` before publishing the R2 `codex/install.sh` and `codex/install.ps1` aliases when updating the `latest` channel. This keeps prereleases marked latest from overwriting the stable installer aliases. GitOrigin-RevId: 2ee7a8aee03f5242fb3b85af377655017e0d23b8 --- .github/scripts/publish_r2_release.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/publish_r2_release.py b/.github/scripts/publish_r2_release.py index 456cab2cdb..3b6de38006 100755 --- a/.github/scripts/publish_r2_release.py +++ b/.github/scripts/publish_r2_release.py @@ -522,7 +522,7 @@ def main() -> int: endpoint, version, "prerelease" ): channels.append("prerelease") - if "latest" in channels: + if "latest" in channels and args.prerelease == "false": publish_installers(endpoint, args.tag, assets) for channel in channels: channel_key = f"{PREFIX}/channels/{channel}"