Skip to content

ci: release versions follow the org versioning policy - #46

Merged
bryanfawcett merged 1 commit into
mainfrom
claude/versioning-policy
Oct 4, 2026
Merged

bryanfawcett merged 1 commit into
mainfrom
claude/versioning-policy

Conversation

@bryanfawcett

Copy link
Copy Markdown
Collaborator
  • release.yml: the verify job checks the manifest version with the shared next-version action before anything is built or published.
    • A release must be the next minor above the highest released tag. Pre-release tags do not count, so the first plain version is a first release.
    • workflow_dispatch gets a bump input, and a major is allowed only from a manual run.
    • The verify job's checkout is pinned and keeps no credential.
  • The new staging-version.yml tags each merge into staging as the next patch. It is a no-op until staging exists.
  • CONTRIBUTING: a Versioning section.

Part of nyuchi/.github#80. The policy: a merge into staging is a PATCH, a staging → main release is a MINOR, a MAJOR is manual only (workflow_dispatch, bump: major). Each segment holds 0–999. The shared calculator is nyuchi/.github/.github/actions/next-version, pinned by SHA. Released versions are not renumbered.

🤖 Generated with Claude Code

https://claude.ai/code/session_01GHjaH1Vt2dVLWU68iz8tFq

- `release.yml`: the verify job checks the manifest version with the shared `next-version` action before anything is built or published.
  - A release must be the next minor above the highest released tag. Pre-release tags do not count, so the first plain version is a first release.
  - `workflow_dispatch` gets a `bump` input, and a major is allowed only from a manual run.
  - The verify job's checkout is pinned and keeps no credential.
- The new `staging-version.yml` tags each merge into `staging` as the next patch. It is a no-op until `staging` exists.
- CONTRIBUTING: a Versioning section.

Refs nyuchi/.github#80

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GHjaH1Vt2dVLWU68iz8tFq
Signed-off-by: Bryan Fawcett <bryan@nyuchi.com>
@bryanfawcett
bryanfawcett merged commit cb5ed27 into main Oct 4, 2026
20 checks passed
@bryanfawcett
bryanfawcett deleted the claude/versioning-policy branch October 4, 2026 12:21
bryanfawcett added a commit that referenced this pull request Oct 4, 2026
* ci: release versions follow the org versioning policy (#46)

- `release.yml`: the verify job checks the manifest version with the shared `next-version` action before anything is built or published.
  - A release must be the next minor above the highest released tag. Pre-release tags do not count, so the first plain version is a first release.
  - `workflow_dispatch` gets a `bump` input, and a major is allowed only from a manual run.
  - The verify job's checkout is pinned and keeps no credential.
- The new `staging-version.yml` tags each merge into `staging` as the next patch. It is a no-op until `staging` exists.
- CONTRIBUTING: a Versioning section.

Refs nyuchi/.github#80


Claude-Session: https://claude.ai/code/session_01GHjaH1Vt2dVLWU68iz8tFq

Signed-off-by: Bryan Fawcett <bryan@nyuchi.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

* ci: version staging merges and run CI on staging

Refs nyuchi/.github#84 (policy: nyuchi/.github#80).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017T4NxM5wbhJ3LjHt7bnuwr

---------

Signed-off-by: Bryan Fawcett <bryan@nyuchi.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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