-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
adding option --edge to install latest edge / preview version #4605
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a fantastic idea!
install.sh
Outdated
@@ -32,6 +32,9 @@ Usage: | |||
--version X.X.X | |||
Install a specific version instead of the latest. | |||
|
|||
--edge [true | false (default) ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we leave off the value and set this to true when the flag is set? This is how we have been handling booleans, for example see --dry-run
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a fantastic idea! I agree with @code-asher's feedback. Let's mimic how --dry-run
is used. If flag passed, set to true
else false
.
Codecov Report
@@ Coverage Diff @@
## main #4605 +/- ##
=======================================
Coverage 66.14% 66.14%
=======================================
Files 30 30
Lines 1654 1654
Branches 331 331
=======================================
Hits 1094 1094
Misses 475 475
Partials 85 85 Continue to review full report at Codecov.
|
Adding this commit: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Woohoo! Thanks so much
(You can ignore Docs preview - I need to fix it) |
Thanks! |
🆒 |
Adding option --edge to install latest edge / preview version.
$ ./install.sh --edge true