mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 05:02:07 +00:00
fix(installer): avoid unbound asset variable in release download
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
parent
3f04822f58
commit
b6b6bf12d6
1 changed files with 0 additions and 2 deletions
|
|
@ -437,13 +437,11 @@ install_from_release() {
|
|||
local tag="$1"
|
||||
detect_platform
|
||||
local workdir
|
||||
local asset
|
||||
local url
|
||||
local archive
|
||||
local downloaded=0
|
||||
|
||||
workdir="$(mktemp -d)"
|
||||
archive="$workdir/$asset"
|
||||
while IFS= read -r asset; do
|
||||
url="https://github.com/${REPO}/releases/download/${tag}/${asset}"
|
||||
archive="$workdir/$asset"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue