Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork295
feat(bump_rule): add BumpRule, VersionIncrement, Prerelease Enum#1518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:v4-9-0-test
Are you sure you want to change the base?
feat(bump_rule): add BumpRule, VersionIncrement, Prerelease Enum#1518
Uh oh!
There was an error while loading.Please reload this page.
Conversation
bb305ad
to8a6c84f
Comparecodecovbot commentedJun 9, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@## v4-9-0-test #1518 +/- ##============================================== Coverage ? 98.01% ============================================== Files ? 59 Lines ? 2768 Branches ? 0 ============================================== Hits ? 2713 Misses ? 55 Partials ? 0
Flags with carried forward coverage won't be shown.Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
8a6c84f
to8dd8d42
Compare
Related issue:#129
Original PR:#1431
Description
Please see
bump_rule.py
,bump.py
,cz/base.py
,version_scheme.py
andcommands/bump.py
(~350 lines).The rest 1000+ lines are just tests and renaming.
CustomBumpRule
.Simplified code.SemVerIncrement
and replaceMAJOR
,MINOR
,PATCH
with the Enum.Prerelease
is Enum.find_increment
logic inSemVerIncrement.get_highest_by_messages
.find_increment
was the combination of 2 features: "finding the highest semantic version increment" and "parsing the semantic version increment from each git commit message".Checklist
Code Changes
poetry all
locally to ensure this change passes linter check and testsDocumentation Changes
poetry doc
locally to ensure the documentation pages renders correctlyExpected Behavior
Steps to Test This Pull Request
Additional Context