Skip to content

Document the develop-leads versioning model - #132

Merged
ptr727 merged 1 commit into
mainfrom
develop
Jun 8, 2026
Merged

Document the develop-leads versioning model#132
ptr727 merged 1 commit into
mainfrom
develop

Conversation

@ptr727

@ptr727 ptr727 commented Jun 8, 2026

Copy link
Copy Markdown
Owner

Promotes the versioning-policy documentation to main (#131): the develop-leads + maintenance-hold model stated in AGENTS.md, README.md, and .github/copilot-instructions.md. Documentation only; version unchanged (maintenance).

Documents how `version.json` is managed, so the versioning model is
explicit and propagates to derived repos.

- **`develop` leads `main` by a minor.** `main` builds the stable
release (`X.Y.height`); `develop` builds prereleases
(`X.Y.height-g{sha}`). After each `develop -> main` release, bump
develop's minor in an isolated `bump-version-X.Y` PR so develop's
prereleases always sort numerically above main's last stable (at a
shared version, develop's prerelease sorts *below* main's stable -
confusing in `--version`, HISTORY.md, update prompts).
- **Maintenance promotions hold main's version.** Catch-up work
(dependency bumps, CI/doc fixes, template re-syncs) reaches `main`
without releasing develop's leading minor via `git checkout main --
version.json` on the promotion branch (the pattern used for PlexCleaner
#734). A release promotion carries develop's version, after which
develop bumps again.

Written in current-state declarative voice. No CI enforcement
(documentation only).
Copilot AI review requested due to automatic review settings June 8, 2026 17:59

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 promotes and aligns documentation about the repository's maintainer-controlled versioning policy across the primary contributor docs, emphasizing the "develop leads main by a minor" approach and the "maintenance promotions hold main's version" procedure.

Changes:

  • Document that version.json (major.minor) is a maintainer-edited version floor, with NBGV supplying git height as the patch position.
  • Describe the post-release workflow: after develop -> main releases, bump develop's minor via an isolated bump-version-X.Y PR to keep prereleases sorting above main's last stable.
  • Describe the maintenance-promotion workflow: keep main's version by checking out version.json from main when promoting maintenance-only changes.

Reviewed changes

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

File Description
README.md Adds a concise branching-model bullet describing the release vs. maintenance promotion versioning steps and links back to AGENTS.md.
AGENTS.md Adds a dedicated, structured "Versioning is semantic and maintainer-controlled" section under Release Model, including develop-leads and maintenance-hold rules.
.github/copilot-instructions.md Surfaces the same versioning workflow at the top-level Copilot instructions so agents inherit the policy in derived repos.

@ptr727
ptr727 merged commit cf87030 into main Jun 8, 2026
12 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