Skip to content

[cfg] v0.5.1-pre25 release json#528

Merged
ddol merged 2 commits into
mainfrom
dd/rel/051-pre25
Jun 10, 2026
Merged

[cfg] v0.5.1-pre25 release json#528
ddol merged 2 commits into
mainfrom
dd/rel/051-pre25

Conversation

@ddol

@ddol ddol commented Jun 10, 2026

Copy link
Copy Markdown
Member

Purpose

This pull request updates the release metadata and asset handling to support new and legacy binary naming conventions for the velocity.report project, ensuring compatibility with both current and previous release asset names. It also updates the release data to the latest versions and adds comprehensive tests for the new asset name patterns.

Changes

Release asset naming and pattern handling:

  • Refactored asset name matching logic in scripts/update-release-json.py to support both new (velocity-report-linux-arm64_0.5.0, velocity-report-mac-arm64_0.5.0) and legacy (velocity-report-linux-arm64, velocity-report-mac-arm64) binary naming schemes, using a new helper function build_binary_asset_pattern and updated regex patterns.
  • Added and expanded tests in scripts/test_update_packaging.py to ensure the new asset patterns match all expected binary names and that release picking logic correctly handles both naming variants.

Release metadata updates:

  • Updated public_html/src/_data/release.json to reference the latest stable (0.5.0) and prerelease (0.5.1-pre25) versions, including new URLs, SHA256 hashes, and asset names for Linux ARM64, Mac ARM64, and Raspberry Pi image assets. [1] [2] [3]
  • Updated the velocity.report entry in image/os-list-velocity.json to point to the new prerelease image (0.5.1-pre25), with updated download URL, sizes, hashes, and release date.

Checklist

  • Uses British English spelling/wording where applicable.
  • Design is confirmed and aligns with DESIGN.md.
  • Any maths/derived values are valid and up to date.
  • Version has been bumped where required.
  • Documentation is up to date.
  • README.md is up to date.
  • docs/DEVLOG.md is up to date.

Copilot AI review requested due to automatic review settings June 10, 2026 20:41
@ddol
ddol merged commit 761ddd2 into main Jun 10, 2026
4 checks passed
@ddol
ddol deleted the dd/rel/051-pre25 branch June 10, 2026 20:42

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the project’s published release metadata and the release-updater script to handle both current and legacy GitHub release asset naming schemes, ensuring downstream consumers can reliably locate the correct binaries/images across tags.

Changes:

  • Refactors release asset filename matching in scripts/update-release-json.py to support multiple binary naming variants (including mac vs darwin, optional embedded versions, and _version suffixes).
  • Expands scripts/test_update_packaging.py coverage to validate the new regex patterns and release-selection behaviour for v0.5.0 stable assets.
  • Refreshes published release metadata in public_html/src/_data/release.json and Raspberry Pi Imager feed data in image/os-list-velocity.json to v0.5.0 stable and v0.5.1-pre25 prerelease.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
scripts/update-release-json.py Adds a helper to build more flexible binary asset regexes and updates platform patterns accordingly.
scripts/test_update_packaging.py Adds tests to confirm the new asset patterns and stable release selection with v0.5.0 naming variants.
public_html/src/_data/release.json Updates stable/prerelease versions, URLs, and hashes to current release assets.
image/os-list-velocity.json Updates the Raspberry Pi Imager entry to point at the new prerelease image and metadata.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants