-
-
Notifications
You must be signed in to change notification settings - Fork 302
Feat/version info #1639
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/version info #1639
Conversation
9a172d9 to
e77180b
Compare
e77180b to
df79339
Compare
|
how am I supposed to fix |
|
I usually use |
df79339 to
2fa851b
Compare
|
Fixed! 🤞🏻 |
2fa851b to
7ca2b16
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## v4-9-2 #1639 +/- ##
=========================================
Coverage ? 98.18%
=========================================
Files ? 58
Lines ? 2706
Branches ? 0
=========================================
Hits ? 2657
Misses ? 49
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:
|
Description
Allow the ability to just print
majororminorfrom a version when usingcz version -p.This is useful, because under some scenarios, users may need just a chunk of the version. Example:
vXtag, whereXis the major, this tag is moved to the latest commit usually.Checklist
Code Changes
poetry alllocally to ensure this change passes linter check and testsDocumentation Changes
poetry doclocally to ensure the documentation pages renders correctlyExpected Behavior
cz version -p majorshould render the major part onlycz version -p minorshould render the minor part onlyCloses #1638