Skip to content

Conversation

@bearomorphism
Copy link
Contributor

@bearomorphism bearomorphism commented Nov 22, 2025

Description

Fixed the behavior of --major and --minor. Added tests.

Before this PR

cz version --major
# 4.10.0

After this PR

cz version --major
# 4

Checklist

Code Changes

  • Add test cases to all the changes you introduce
  • Run poetry all locally to ensure this change passes linter check and tests

@codecov
Copy link

codecov bot commented Nov 22, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (v4-10-1@f52f532). Learn more about missing BASE report.

Additional details and impacted files
@@            Coverage Diff             @@
##             v4-10-1    #1673   +/-   ##
==========================================
  Coverage           ?   98.60%           
==========================================
  Files              ?       60           
  Lines              ?     2649           
  Branches           ?        0           
==========================================
  Hits               ?     2612           
  Misses             ?       37           
  Partials           ?        0           
Flag Coverage Δ
unittests 98.60% <100.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@bearomorphism bearomorphism marked this pull request as draft November 22, 2025 12:19
@bearomorphism bearomorphism force-pushed the fix-version-major-minor branch from 5229525 to 8f6491b Compare November 22, 2025 12:51
@bearomorphism bearomorphism marked this pull request as ready for review November 22, 2025 12:52
@bearomorphism bearomorphism force-pushed the fix-version-major-minor branch from 8f6491b to d05067c Compare November 22, 2025 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant