mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-08-28 19:11:03 +08:00
Merge pull request #8746 from Kilo-Org/catrielmuller/version-deployment-fixx
fix(cli): always use github releases for version lookup when GH_REPO is set
This commit is contained in:
@@ -66,7 +66,7 @@ async function fetchLatest() {
|
||||
}
|
||||
|
||||
async function fetchHighest() {
|
||||
if (!env.KILO_RELEASE || !process.env.GH_REPO) return fetchLatest()
|
||||
if (!process.env.GH_REPO) return fetchLatest()
|
||||
const data: { tagName: string }[] = await $`gh release list --json tagName --limit 100 --repo ${process.env.GH_REPO}`
|
||||
.json()
|
||||
.catch(() => [])
|
||||
|
||||
Reference in New Issue
Block a user