chore: correct new menloresearch repo name
This commit is contained in:
parent
30f9a34ede
commit
03367f4387
@ -36,7 +36,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.PAT_SERVICE_ACCOUNT }}
|
GITHUB_TOKEN: ${{ secrets.PAT_SERVICE_ACCOUNT }}
|
||||||
run: |
|
run: |
|
||||||
curl -s https://api.github.com/repos/janhq/cortex/releases > /tmp/github_api_releases.json
|
curl -s https://api.github.com/repos/menloresearch/cortex/releases > /tmp/github_api_releases.json
|
||||||
latest_prerelease_name=$(cat /tmp/github_api_releases.json | jq -r '.[] | select(.prerelease) | .name' | head -n 1)
|
latest_prerelease_name=$(cat /tmp/github_api_releases.json | jq -r '.[] | select(.prerelease) | .name' | head -n 1)
|
||||||
|
|
||||||
get_asset_count() {
|
get_asset_count() {
|
||||||
|
|||||||
@ -2668,7 +2668,7 @@
|
|||||||
},
|
},
|
||||||
"url": {
|
"url": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"example": "https://api.github.com/repos/janhq/cortex.llamacpp/releases/186479804"
|
"example": "https://api.github.com/repos/menloresearch/cortex.llamacpp/releases/186479804"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,9 @@
|
|||||||
import useSWR from 'swr'
|
import useSWR from 'swr'
|
||||||
|
|
||||||
const fetchLatestRelease = async (includeBeta: boolean) => {
|
const fetchLatestRelease = async (includeBeta: boolean) => {
|
||||||
const res = await fetch('https://api.github.com/repos/janhq/jan/releases')
|
const res = await fetch(
|
||||||
|
'https://api.github.com/menloresearch/janhq/jan/releases'
|
||||||
|
)
|
||||||
if (!res.ok) throw new Error('Failed to fetch releases')
|
if (!res.ok) throw new Error('Failed to fetch releases')
|
||||||
|
|
||||||
const releases = await res.json()
|
const releases = await res.json()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user