Skip to content

Document the develop-leads versioning policy#333

Merged
ptr727 merged 3 commits into
developfrom
propagate-versioning-policy
Jun 8, 2026
Merged

Document the develop-leads versioning policy#333
ptr727 merged 3 commits into
developfrom
propagate-versioning-policy

Conversation

@ptr727

@ptr727 ptr727 commented Jun 8, 2026

Copy link
Copy Markdown
Owner

Propagates the versioning rule from ptr727/ProjectTemplate: develop leads main by a minor (after a develop -> main release, bump develop's minor via an isolated bump-version-X.Y PR so develop's prereleases sort above main's stable), and maintenance promotions hold main's version. Added to AGENTS.md "Release Model" and `.github/copilot-instructions.md". (The README is the consumer-facing package readme with no dev-workflow section, so the rule lives in the agent-facing docs.)

develop leads main by a minor: after a develop -> main release, bump develop's
minor (isolated bump-version-X.Y PR) so develop prereleases sort above main's
stable. Maintenance promotions hold main's version. Added to AGENTS.md Release
Model and copilot-instructions. Propagated from ptr727/ProjectTemplate.
Copilot AI review requested due to automatic review settings June 8, 2026 18:48

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR documents the repository’s develop/main versioning policy (Nerdbank.GitVersioning semantics), clarifying how and when to bump develop’s minor so prereleases sort above main’s latest stable, and how to handle maintenance-only promotions.

Changes:

  • Add an explicit “develop leads main by a minor” rule to AGENTS.md under the Release Model, including the rationale about SemVer prerelease ordering.
  • Add a matching “Versioning” section to .github/copilot-instructions.md, with pointers back to AGENTS.md and the version.json workflow.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
AGENTS.md Adds the authoritative release/versioning rule to the Release Model section, including maintenance-promotion handling.
.github/copilot-instructions.md Mirrors the versioning rule in agent-facing instructions and links back to AGENTS.md and version.json.

Replace em-dashes with spaced hyphens per the Character Set convention (ASCII
only in agent-authored docs).

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

Comment thread AGENTS.md
Comment thread AGENTS.md Outdated
Comment thread .github/copilot-instructions.md Outdated
State X.Y is the new minor (e.g. bump-version-3.5) and that this version-setting
PR is the one place a version belongs in a PR title.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

@ptr727 ptr727 merged commit 1aa8876 into develop Jun 8, 2026
7 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.

2 participants