From 3de8981df35f185aa5d307645734130d2c90b8ab Mon Sep 17 00:00:00 2001 From: Edward Frazer Date: Tue, 26 May 2026 12:56:27 -0700 Subject: [PATCH] refactor!: remove installer release inputs --- scripts/install/install.ps1 | 6 +++--- scripts/install/install.sh | 12 ++---------- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/scripts/install/install.ps1 b/scripts/install/install.ps1 index 6973d482e2..9d9400ae2a 100644 --- a/scripts/install/install.ps1 +++ b/scripts/install/install.ps1 @@ -1,12 +1,12 @@ [CmdletBinding()] -param( - [string]$Release = $env:CODEX_RELEASE -) +param() Set-StrictMode -Version Latest $ErrorActionPreference = "Stop" $ProgressPreference = "SilentlyContinue" +$Release = $env:CODEX_RELEASE + if ([string]::IsNullOrWhiteSpace($Release)) { $Release = "latest" } diff --git a/scripts/install/install.sh b/scripts/install/install.sh index 23980b0c5e..6297787119 100755 --- a/scripts/install/install.sh +++ b/scripts/install/install.sh @@ -63,20 +63,12 @@ validate_version() { parse_args() { while [ "$#" -gt 0 ]; do case "$1" in - --release) - if [ "$#" -lt 2 ]; then - echo "--release requires a value." >&2 - exit 1 - fi - RELEASE="$2" - shift - ;; --help | -h) cat <