mirror of
https://github.com/Unimatrix0/update_ombi.git
synced 2025-08-19 21:04:04 -07:00
feat(updater): change url to request the latest release
This commit is contained in:
parent
672951ac8d
commit
902a81c790
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ do
|
||||||
latestversion=$force
|
latestversion=$force
|
||||||
.log 7 "forcing version: $latestversion"
|
.log 7 "forcing version: $latestversion"
|
||||||
fi
|
fi
|
||||||
json=$(curl -sL https://ci.appveyor.com/api/projects/tidusjar/requestplex/build/$latestversion)
|
json=$(curl -sL https://github.com/Ombi-app/Ombi.Releases/releases/tag/$latestversion)
|
||||||
.log 8 "json: $json"
|
.log 8 "json: $json"
|
||||||
jobId=$(grep -Po '(?<="jobId":")([^"]+)' <<< "$json")
|
jobId=$(grep -Po '(?<="jobId":")([^"]+)' <<< "$json")
|
||||||
.log 7 "jobId: $jobId"
|
.log 7 "jobId: $jobId"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue