Skip to content

Validate Nerdbank.GitVersioning behaviour on release/vN branches #275

Description

@ChrisonSimtian

Sibling of milestone #13. RFC #267.

What

Verify that NB.GV produces the right versions on the new branch shape before any of the publish-workflow changes go live. NB.GV uses commit-height + the version.json version field; cherry-picks to release/vN will increment patch height; main going to 12.0 should immediately produce 12.0.0-… builds.

Acceptance criteria

  • After cutting release/v11 and bumping main's version.json to 12.0:
    • nbgv get-version on release/v11 reports 11.0.N+1 where N is the patch height at cut.
    • nbgv get-version on main reports 12.0.0-… (or whatever pre-release suffix is configured).
    • A cherry-pick to release/v11 increments the patch.
    • A merge to main increments the v12 prerelease counter, not v11.
  • If version.json needs pathFilters or cloudBuild tweaks for the branch model, those changes are made.
  • Findings documented in the docs PR.

Depends on

  • release/v11 exists.
  • main's version.json bumped to 12.0.

Notes

  • This is mostly investigation + a smoke test, not a code-heavy PR. May produce no diff if NB.GV "just works" — that's fine, the artifact is the documented confirmation.
  • If we discover NB.GV needs a release config section per its docs ({"release": {"branchName": "release/v{version}"}}), wire that in.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions