Skip to content

Fix release version derivation; add get-version CLI commands#31

Merged
line0 merged 2 commits into
mainfrom
fix-release-workflow
Jul 24, 2026
Merged

Fix release version derivation; add get-version CLI commands#31
line0 merged 2 commits into
mainfrom
fix-release-workflow

Conversation

@line0

@line0 line0 commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Two related release-tooling changes:

Fix the release-version derivation. The workflow picked the lowest package version (unique | .[0]), so a lockstep release that bumps only a sub-package (dkjson while the namesake stays put) resolved to an already-released tag and silently cut nothing. It now resolves the semver max of the source channel, shared by the release tag and the bundle asset name so they can't disagree.

Add get-version / get-current-versions CLI commands, backed by new UpdateFeed version queries (getHighestVersionOnChannel, getVersionsOnChannel, getPackageVersionOnChannel), and use them to retire the version-deriving jq in the reusable publish workflow. Adds a configurable tag-prefix input and factors the shared tag-naming into tag_name / emit_tags helpers. Includes unit tests; l0.DependencyControl and l0.dkjson are staged for the v0.8.0 release.

🤖 Generated with Claude Code

line0 and others added 2 commits July 24, 2026 07:25
The headline version came from `unique | .[0]`, i.e. the lowest package
version. Under lockstep versioning a release that bumps only a sub-package
(dkjson 0.7.1 while the namesake stays 0.7.0) resolved to an already-released
version and the release step silently no-op'd.

Resolve one headline version as the semver max of the source channel and use
it for both the release tag and the bundle asset name, so they can't disagree.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
report a feed channel's highest version or its distinct package versions.
@github-actions

Copy link
Copy Markdown
Contributor

Test results — macos-latest ✅1060 · ubuntu-latest ✅1060 · windows-latest ✅1057

Summary

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Other ❓ Flaky 🍂 Duration ⏱️
3180 3177 0 3 0 0 1m 30s

🎉 No failed tests in this run.

Github Test Reporter by CTRF 💚

@line0
line0 merged commit 3b56f1d into main Jul 24, 2026
4 checks passed
@line0
line0 deleted the fix-release-workflow branch July 24, 2026 10:13
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.

1 participant