Skip to content

chore: release 0.12.0 (Release-As override — minor, not major) - #376

Merged
sameeul merged 1 commit into
PolusAI:mainfrom
sameeul:chore/release-as-0.12.0
Jul 16, 2026
Merged

chore: release 0.12.0 (Release-As override — minor, not major)#376
sameeul merged 1 commit into
PolusAI:mainfrom
sameeul:chore/release-as-0.12.0

Conversation

@sameeul

@sameeul sameeul commented Jul 16, 2026

Copy link
Copy Markdown
Member

Forces release-please to cut 0.12.0 (minor) instead of the 1.0.0 (major) it currently proposes in PR #344.

Why

The only breaking change this cycle is the omezarr z5 3.0.1 / C++20 migration, which drove a 0.x → 1.0.0 major bump — even though release-please-config.json sets bump-minor-pre-major: true (which should keep 0.x breaking changes as minor bumps). That config is not being honored: .github/workflows/release-please.yml drives release-please-action@v4 with inline release-type/package-name instead of config-file/manifest-file, so the pre-major policy is skipped and default semver (breaking → major) applies.

What this does

An empty commit carrying the Release-As: 0.12.0 footer. On merge to main, release-please rewrites PR #344 to 0.12.0 (version, CHANGELOG, .release-please-manifest.json, setup.py, .version all consistent) instead of 1.0.0.

Release-As: 0.12.0

Recommended follow-up (separate)

Fix the workflow to pass config-file: release-please-config.json + manifest-file: .release-please-manifest.json (and drop the inline release-type/package-name) so bump-minor-pre-major is honored and future 0.x breaking changes don't need a manual override.

🤖 Generated with Claude Code

Force release-please to cut a minor release (0.12.0) instead of the major
(1.0.0) it currently proposes in the release PR. The single breaking change
(omezarr z5 3.0.1 / C++20 migration) triggered a 0.x->1.0.0 major bump even
though release-please-config.json sets bump-minor-pre-major:true — that config
isn't being honored (the workflow drives release-please-action@v4 with inline
release-type/package-name instead of config-file/manifest-file). This override
pins the next release to 0.12.0.

Release-As: 0.12.0

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@sameeul
sameeul merged commit 73f6ca8 into PolusAI:main Jul 16, 2026
46 checks passed
sameeul added a commit that referenced this pull request Jul 17, 2026
…pin 0.12.0

The release PR (#344) proposed 1.0.0 because the workflow drove
release-please-action@v4 with inline release-type/package-name, which put v4 on
the non-manifest path and ignored release-please-config.json — where
bump-minor-pre-major:true already asks for 0.x breaking changes to bump the minor
(0.11.0 -> 0.12.0), not jump to 1.0.0. Switch to config-file/manifest-file so the
policy is honored. Also pin this release explicitly via the footer below in case
the config wiring needs a cycle to take effect.

(The prior empty-commit Release-As in #376 was dropped by rebase-merge and never
reached main; this carries the footer on a real change so it survives any merge.)

Release-As: 0.12.0

Co-Authored-By: Claude Opus 4.8 (1M context) <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