ci: auto-update metainfo releases block and screenshot URL on version tag · Issue #3718 · aethersdr/AetherSDR · GitHub
Skip to content

ci: auto-update metainfo releases block and screenshot URL on version tag #3718

Description

@NF0T

Follow-up to #3675 and #3709.

PR #3709 correctly hardened packaging/linux/io.github.aethersdr.aethersdr.metainfo.xml for Flathub submission, but the <releases> block and the screenshot URL are now hand-maintained point-in-time values. Every future release requires a manual PR to:

  • Prepend a new <release version="…" date="…"/> entry and trim the list to N recent releases
  • Update the screenshot URL from the previous tag to the new one

Issue #3675 already anticipated this: "Could later be auto-generated from tags in CI."

Proposed solution

A GitHub Actions workflow triggered on push of a v* tag that:

  1. Parses the tag name and tag date
  2. Prepends a new <release> entry to the <releases> block and trims to the last 5 (or configurable N)
  3. Updates the screenshot <image> URL to point at the new tag
  4. Commits the updated file back to main (or opens a draft PR for maintainer review)

Scope

One workflow file in .github/workflows/ plus optionally a small helper script. No source code changes. The metainfo file itself needs no structural changes — just the two dynamic sections.

Notes

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImprovement to existing featuremaintainer-reviewRequires maintainer review before any action is taken

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions