-
Notifications
You must be signed in to change notification settings - Fork 21
Support an optional 'v' in semver present in the binary archive #47
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
Support an optional 'v' in semver present in the binary archive #47
Conversation
WalkthroughThe regular expression used for matching executable filenames was updated to optionally allow a "v" prefix before the semantic version. Corresponding test cases were added to verify the new matching logic, including both valid and invalid patterns with the "v" prefix and various separators. Changes
Poem
Tip ⚡️ Faster reviews with caching
Enjoy the performance boost—your workflow just got faster. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🔇 Additional comments (8)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #47 +/- ##
=======================================
Coverage 77.07% 77.07%
=======================================
Files 28 28
Lines 1435 1435
=======================================
Hits 1106 1106
Misses 279 279
Partials 50 50
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:
|
|
Thanks for the PR, that was definitely a miss. |
selfupdate supports semver with an optional 'v', but not when that 'v' is present in the zipped artifact.
This adds that support.
Summary by CodeRabbit
cmd-1.2.3-os-archandcmd-v1.2.3-os-archare now recognized).