release: deno task bump <version>; the warnings name the fix#94
Merged
Conversation
One command stamps every manifest, and both surfaces that detect a forgotten bump now prescribe it: the draft banner says to run deno task bump before publishing, and the preflight caution names the exact command for the refused tag. Spec §2's ritual references the task; the bump script joins the release-config list in ReleaseSpecWarning.
PR #94: release: deno task bump ; the warnings name the fix6 files, +73 / -5 Scope🟡 PR mixes config and source changes. Structural🟡 2 console statements. Slop✅ Slop indicators look low. Static Analysis✅ Oxlint found no issues. CorrectnessNo extraneous code patterns detected. |
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.
Motivation
The release warnings merged in #93 diagnose a forgotten version bump but leave
the fix to the reader — and the bump itself is ten hand-edited manifest
fields. The warnings should prescribe a single command.
Approach
deno task bump <version>:scripts/bump-version.ts(Effection style)stamps the
versionfield of every@executablemdmember'sdeno.jsonandpackage.json, validates the semver argument, and fails loudly if amanifest has no version field. Formatting is preserved (string replace, not
reserialization).
banner says to run
deno task bump <version>and merge before publishing;the caution names
deno task bump <tag-version>for the refused tag.scripts/bump-version.tsjoins therelease-config list in
ReleaseSpecWarning.Verified: bumping to a test version changes exactly the ten version lines and
nothing else (then reverted); a non-semver argument is rejected; typecheck,
lint, and the workflow scripts (
bash -n) pass.Scope confirmation
New abstractions (if any)
None — one task script following the
scripts/conventions.New dependencies (if any)
None.
New tests (if any)
None — verified functionally as described.