feat: fill codemeta release notes and runtime platform per release - #197
Merged
Merged
Conversation
The codemeta update task now writes releaseNotes as a link to the GitHub releases page anchored on the released tag, reads the minimum MATLAB release from the toolbox packaging file into runtimePlatform, and stamps datePublished alongside dateModified. codemeta.json is updated by hand for v0.12.0 to match. It corrects the minimum release from R2022b to R2022a, replaces softwareRequirements with runtimePlatform, and adds url, readme, installUrl, keywords, maintainer and dateCreated. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Contributor
Test Results (R2022a)858 tests - 262 854 ✅ - 248 4m 51s ⏱️ - 2m 44s Results for commit 038de16. ± Comparison against base commit 81e60aa. This pull request removes 262 tests.♻️ This comment has been updated with latest results. |
datePublished is the first release date, which the CodeMeta generator labels "First release date", so the update task no longer overwrites it each release. codemeta.json pins it to 2023-09-26, when v0.9.0 was published. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
ehennestad
enabled auto-merge (squash)
September 14, 2026 12:58
Contributor
Test Results (R2026a)858 tests - 262 856 ✅ - 247 5m 35s ⏱️ - 3m 3s Results for commit 038de16. ± Comparison against base commit 81e60aa. This pull request removes 262 tests. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #197 +/- ##
==========================================
- Coverage 80.37% 80.10% -0.28%
==========================================
Files 424 424
Lines 4403 4423 +20
==========================================
+ Hits 3539 3543 +4
- Misses 864 880 +16 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The codemeta update task runs from the release workflow after a version is tagged. It wrote only
version,downloadUrlanddateModified, soreleaseNotesstayed a link to the full releases list, and the minimum MATLAB release was a hand-maintained copy that had drifted to R2022b while the packaging file, CI matrix and README all say R2022a.The task now writes
releaseNotesas a link to the GitHub releases page anchored on the released tag, for examplereleases#release-v0.12.0. It reads the minimum MATLAB release fromtools/MLToolboxInfo.jsonand writes it toruntimePlatform, and asserts that no maximum release is set so the "or later" wording cannot become wrong silently.dateModifiedis still stamped with the release date.datePublishedis the first release date and the task leaves it alone.codemeta.jsonis updated by hand for v0.12.0 to match what the task now produces. It also gainsurl,readme,installUrl,keywords,maintainer,dateCreatedanddatePublished, and drops the incorrectsoftwareRequirementsentry in favour ofruntimePlatform.🤖 Generated with Claude Code