[Feature Request]: Improve information for GitHub releases #7576
Description
Which feature would you like to have?
Problem
-
The
assets
property of GitHub releases is currently empty for releases such as this example.To obtain a download link, users must navigate to the Armbian website manually. For example: link.
I understand there are numerous builds available (e.g.,
bananapicm4io
,rpi4b
, etc.). But it would be ideal for all relevant builds to be included within the assets property, preferably tagged for easier identification. -
Also, there is currently no metadata to distinguish between
stable
andtrunk
releases.The
prerelease
property is not being appropriately utilized to marktrunk
releases.
The current workaround involves filtering out releases with the "trunk" string in their name property, but this is suboptimal.
Why?
I wish to write a script to automate the download of the latest stable release. Something in the lines of:
# powershell
# Get latest release information
$ProgressPreference = 'SilentlyContinue'
$latestRelease = (Invoke-WebRequest 'https://api.github.com/repos/armbian/build/releases' -UseBasicParsing | ConvertFrom-Json) |
Where-Object -Property 'name' -notlike '*trunk*' |
Select-Object -First 1
$assetsUrl = $latestRelease.assets_url
$assets = Invoke-WebRequest $assetsUrl -UseBasicParsing | ConvertFrom-Json