Skip to content

docs(adr): 0020 versioning is the hand-set <Version> that the tag guard checks - #292

Merged
ShortArrow merged 1 commit into
mainfrom
docs/adr-0020-versioning
Oct 20, 2026
Merged

ShortArrow merged 1 commit into
mainfrom
docs/adr-0020-versioning

Conversation

@ShortArrow

@ShortArrow ShortArrow commented Oct 20, 2026 •

Copy link
Copy Markdown
Owner

ADR 0020 §8 said releases are versioned by Nerdbank.GitVersioning, from a version.json at the root and a patch computed from the commit height. Neither was ever in place. No version.json appears anywhere in the history (git log --all -- version.json is empty). The nbgv tool listed in .config/dotnet-tools.json is not run by any workflow; Dependabot has been bumping it all the same (#57, #132, #194).

Every release so far has used a hand-set <Version> in Directory.Build.props, checked by two jobs. In release.yml, guard fails unless the tag equals <Version> and the CHANGELOG has a section for that version. In pr.yml, version / CHANGELOG sync fails unless the current <Version> has such a section. §8 now describes that, along with what a release pull request changes, and the Consequences bullet that credited NBGV now credits the checks.

The unused nbgv entry stays in the tool manifest; removing it is a separate change.

@ShortArrow
ShortArrow marked this pull request as ready for review October 20, 2026 00:50
@ShortArrow
ShortArrow merged commit 55c862c into main Oct 20, 2026
19 checks passed
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