Lock the release version to the platform's, not an independent counter #44
No reviewers
Labels
No labels
⏳in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Grey.ooo/someones.computer_agent!44
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/version-lockstep-with-app"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Changes release-cadence.yml (and its by-hand equivalent, cut-release.sh)
so the version tagged here is read from the platform repo
(Grey.ooo/someones.computer) instead of computed by bumping this repo's
own previous tag.
Why
Follow-up to #43: someones.computer is one product with two shipped
artifacts, the web app and this CLI, and per discussion they should carry
one version between them rather than two independently-incrementing
counters. The platform is currently at v0.1.15; this repo had just been
bumped to v0.1.1 under the old scheme.
How it decides what to tag
git ls-remote --tagsagainst Grey.ooo/someones.computer for its newestv*(both repos are public, so this needs no cross-repo token).release, the target commit is CI-green, forward-only through this
repo's own commit history) plus a new one — the platform's version must
sort newer than this repo's previous tag, or the two have desynced and
it errors instead of guessing.
bump: patch|minorworkflow_dispatch input is gone; there's nothingleft for it to mean.
A platform-only release cycle still produces a tag here, pointing at
whatever agent commit was already current, even with no CLI change behind
it — intentional, so
sc --versionand the app's own version neverdisagree about what "someones.computer vX.Y.Z" means.
v0.1.1
Cut by hand in #43 before this decision was made. Left in place rather
than deleted/rewritten — it's superseded, not wrong, and rewriting
published tag history is worse than an orphaned patch release sitting
under a much larger platform-locked number from here on.
Verified
actionlintandshellcheckclean. Not run live (would cut a realrelease) — same reasoning as #43: the logic is adapted from a pattern
already proven in the platform repo's own release-cadence.yml, with one
new piece (the cross-repo ls-remote) that's a plain read, not a mutation.
WIP: Lock the release version to the platform's, not an independent counterto Lock the release version to the platform's, not an independent counter