Repository navigation
ci: pick the release bump from the commits, require a reason to override - #18729
Merged
Merged
Conversation
This was referenced Oct 14, 2026
GermanJablo
force-pushed
the
ci/release-bump-from-commits
branch
from
October 14, 2026 20:22
e440968 to
f71364c
Compare
GermanJablo
force-pushed
the
ci/post-release-templates-dist-tag
branch
from
October 14, 2026 20:22
6be647f to
4bdbe2f
Compare
GermanJablo
force-pushed
the
ci/release-bump-from-commits
branch
from
October 14, 2026 20:31
f71364c to
1afc643
Compare
GermanJablo
force-pushed
the
ci/post-release-templates-dist-tag
branch
from
October 16, 2026 21:38
4233869 to
fd58a14
Compare
GermanJablo
force-pushed
the
ci/release-bump-from-commits
branch
from
October 16, 2026 21:38
1afc643 to
797af32
Compare
GermanJablo
force-pushed
the
ci/post-release-templates-dist-tag
branch
from
October 16, 2026 21:54
fd58a14 to
c25aaed
Compare
GermanJablo
force-pushed
the
ci/release-bump-from-commits
branch
from
October 16, 2026 21:54
797af32 to
e94cacf
Compare
GermanJablo
changed the base branch from
ci/post-release-templates-dist-tag
to
main
October 19, 2026 16:07
GermanJablo
force-pushed
the
ci/release-bump-from-commits
branch
from
October 19, 2026 16:07
e94cacf to
5fb3d96
Compare
GermanJablo
marked this pull request as ready for review
October 19, 2026 16:14
GermanJablo
force-pushed
the
ci/release-bump-from-commits
branch
from
October 19, 2026 16:26
5fb3d96 to
f3c51aa
Compare
denolfe
requested changes
Oct 19, 2026
GermanJablo
force-pushed
the
ci/release-bump-from-commits
branch
from
October 20, 2026 13:49
f3c51aa to
fddb044
Compare
GermanJablo
enabled auto-merge (squash)
October 20, 2026 14:19
denolfe
approved these changes
Oct 20, 2026
Contributor
|
🚀 This is included in version v4.0.0-beta.4 |
denolfe
pushed a commit
that referenced
this pull request
Oct 22, 2026
…ide (3.x) (#18919) Port of [#18729](#18729) to `3.x`. On `main` the beta always resolves to `prerelease`, so the check mostly matters here, where `patch` vs `minor` is picked by hand. `bump` now defaults to `auto` (computed from the commits since the last tag). `patch` or `minor` fail before touching git unless `override_reason` is filled in, and the reason is recorded as a notice on the run. `getRecommendedBump` on `3.x` already maps `major` to `minor`, so `auto` never leaves the v3 line. Related: PYLD-4162 Co-authored-by: German Jablonski <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The bump is chosen by hand and nothing checks it. A
patchfor a release withfeat:commits ships without any warning.What
bumpnow defaults toauto, which is computed from the commits and is alwaysprereleaseon a prerelease line. Any other bump fails before touching git unlessoverride_reasonis filled in. The reason is recorded as a notice on the run.Needs porting to
3.xonce #18717 lands.Related: PYLD-4162