mirror of
https://github.com/openai/codex.git
synced 2026-10-20 00:18:49 +00:00
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
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user