-
Notifications
You must be signed in to change notification settings - Fork 16
feat(cli): add option onlySemverTag to history command #626
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
Conversation
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 11aa822. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 5 targetsSent with 💌 from NxCloud. |
Code PushUp🤨 Code PushUp report has both improvements and regressions – compared target commit bb6d45b with source commit f11f8a7. 🏷️ Categories🗃️ Groups👍 3 groups improved
18 other groups are unchanged. 🛡️ Audits👍 6 audits improved, 👎 4 audits regressed, 11 audits changed without impacting score
502 other audits are unchanged. |
Co-authored-by: Matěj Chalk <34691111+matejchalk@users.noreply.github.com>
Co-authored-by: Matěj Chalk <34691111+matejchalk@users.noreply.github.com>
Co-authored-by: Matěj Chalk <34691111+matejchalk@users.noreply.github.com>
Co-authored-by: Matěj Chalk <34691111+matejchalk@users.noreply.github.com>
This PR adds logic to be able to select the history range also by semver styles tag names.
It includes:
semverTagto history command optionssemver.tswhich maintains semver helper:normalizeSemver,isSemver,sortSemvernormalizeHashOptionsgit.commits-and-tagstest/utilsto create git repos and add commitsNote
If the way how I implemented the git helper form
test/utilsI would also refactor the other tests in the same style.Examples:
cli/packages/utils/src/lib/git/git.commits-and-tags.integration.test.ts
Line 99 in b35ba48
cli/packages/utils/src/lib/git/git.commits-and-tags.integration.test.ts
Lines 117 to 121 in b35ba48