Skip to content

chore: pin the next release to 1.0.0 via release-as - #72

Merged
bougyman merged 1 commit into
mainfrom
fix-release-1-0-0-version
Aug 11, 2026
Merged

chore: pin the next release to 1.0.0 via release-as#72
bougyman merged 1 commit into
mainfrom
fix-release-1-0-0-version

Conversation

@bougyman

Copy link
Copy Markdown
Member

Summary

  • chore!: graduate to 1.0.0 - disable pre-major version bumping #70's graduation commit manually set the manifest to 1.0.0 in the same commit that also carried a ! breaking-change marker. Release-please treated that marker as new unreleased work on top of the manifest we'd already bumped, computing 1.0.0 + major = 2.0.0 (opened as chore(main): release 2.0.0 #71, closed unmerged - never tagged or released, confirmed via gh release list/git ls-remote --tags).
  • Adds "release-as": "1.0.0" to .release-please-config.json so release-please targets exactly 1.0.0 for its next PR instead of computing a bump on top of the current manifest value.

Follow-up

Per release-please's own docs, release-as should be removed (or bumped) once the resulting chore(main): release 1.0.0 PR merges - otherwise future runs keep reusing this pin instead of computing normal semver bumps. Tracking this so it doesn't get forgotten.

Test plan

  • JSON validated
  • actionlint re-run on .github/workflows/main.yaml - unaffected, still clean
  • Confirmed no v2.0.0 tag/release exists anywhere (gh release list, git ls-remote --tags origin)

🤖 Generated with Claude Code

The graduation commit (#70) manually set the manifest to 1.0.0 in the
same commit that also carried a `!` breaking marker - release-please
treated that marker as new unreleased work on top of the manifest we'd
already bumped, computing 1.0.0 + major = 2.0.0 (PR #71, closed
unmerged, never tagged/released). Pinning release-as: 1.0.0 tells
release-please to target exactly 1.0.0 for its next PR instead of
computing a bump on top of the current manifest value. Per
release-please's own docs, this should be removed (or bumped) once
that 1.0.0 release PR merges, or later runs will keep reusing it.
Copilot AI lite review requested due to automatic review settings August 11, 2026 20:31

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Pins the next Release Please run to target version 1.0.0 explicitly, preventing an accidental semver “major bump on top of an already-bumped manifest” scenario and aligning the next release PR with the intended baseline.

Changes:

  • Add "release-as": "1.0.0" to Release Please config for the root package (".").

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@bougyman
bougyman merged commit fd56b14 into main Aug 11, 2026
3 checks passed
@bougyman
bougyman deleted the fix-release-1-0-0-version branch August 11, 2026 20:32
bougyman added a commit that referenced this pull request Aug 12, 2026
## Summary
- Removes the `"release-as": "1.0.0"` pin added in #72, now that
`v1.0.0` has actually shipped (#73).
- Per release-please's own docs, this pin must be removed (or bumped)
once the release it targets merges - otherwise future runs keep reusing
`1.0.0` instead of computing normal semver bumps from conventional
commits.

## Test plan
- [x] JSON validated
- [x] Diff confirmed to be exactly the state right after v1.0.0 shipped,
minus the pin

🤖 Generated with [Claude Code](https://claude.com/claude-code)
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