Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Skip stable installer alias publishing for prereleases (#51425)

zsol-openaif71935b7f00c
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}"