Skip to content

build: take Purview.Build 0.5.3 - #145

Merged
kieronlanning merged 5 commits into
mainfrom
sgf-update
Oct 13, 2026
Merged

kieronlanning merged 5 commits into
mainfrom
sgf-update

Conversation

@kieronlanning

Copy link
Copy Markdown
Contributor

No description provided.

AGENTS.md and docs/release-process.md carried a hardcoded "Current Version", and
docs/wiki/Release-Flow.md had drifted to 5.0.0 because it is not in the
filesToUpdate list in .build/update-version.ts.

Replace the literal version with * and point at `just version`, so package.json
stays the single source of truth. The first pattern in update-version.ts now
matches nothing by design; its install-snippet patterns are unaffected.
Add Purview.Build 0.5.2 to .config/dotnet-tools.json and replace the hand-rolled
dotnet tool install --tool-path .tools/purview-build in the Justfile with
dotnet tool restore, running the pipeline as dotnet purview-build.

The version is now pinned in the tool manifest alongside CSharpier, so it is
restored by the same command as every other tool and needs no bespoke install
step, no --add-source feed argument and no platform-specific executable suffix.
The dead pipeline_feed variable is removed, and the docs describing the old
.tools/purview-build path are updated to match.
Purview.Build 0.5.3 defaults RequiredCompilerFlags to empty. Earlier versions
forced the optimization=release check on and could not be configured off, because
binding an empty JSON array contributes no configuration keys and so never
overwrote the tool's non-empty code default.

These packages have therefore always been validated against that flag. Declaring
it keeps that behaviour rather than silently losing the check on the move to
0.5.3.

Verified with just pipeline-pack-validate: all packages still valid.
Picks up the fix that makes RequiredCompilerFlags configurable: earlier versions
forced the compiler-flag check on because binding an empty JSON array
contributes no configuration keys, so the tool's non-empty code default could
never be overridden.

This repository declares "RequiredCompilerFlags": ["optimization=release"]
explicitly, so the check it has always run under is preserved.

Verified with just pipeline-pack-validate against 0.5.3.
@kieronlanning
kieronlanning merged commit ec89586 into main Oct 13, 2026
2 checks passed
@kieronlanning
kieronlanning deleted the sgf-update branch October 13, 2026 11:03
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