Skip to content

[Feature Request]: Improve information for GitHub releases #7576

Open
@fdcastel

Description

Which feature would you like to have?

Problem

  1. 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.

  2. Also, there is currently no metadata to distinguish between stable and trunk releases.

    The prerelease property is not being appropriately utilized to mark trunk 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

Funding

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions