-
Please below query:
curl -fsSG 'https://code.onedev.io/~api/builds' \ --data-urlencode 'query="Project" is "onedev/server" and "Job" is "Release" and successful order by "Finish Date" desc' \ --data-urlencode 'offset=0' \ --data-urlencode 'count=1' | jq -r '.[0].version'
| Type |
Enhancement
|
| Priority |
Minor
|
| Assignee | |
| Labels |
No labels
|
Issue Votes (0)
OneDev is very easy to upgrade. Thanks for that.
Currently I manually upgrade based on the announced releases in the RSS feed. It is not a lot of work, but I would like to automate it. It will also ensure that important fixes don't get applied too late.
Suppose I want to run a job every 6 hours. I really do not want to waste bandwidth just to find out that the latest version is (still) equal to the installed version. Is there a URL that returns machine-readable data with the latest version? If not, can this be added.
Thanks in advance.