-
-
Notifications
You must be signed in to change notification settings - Fork 436
IDE2 nighty build should show the exact CLI version instead of CLI Version: 0.0.0-git []
#1313
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
Comments
The better resolution would be to use the correct method of building Arduino CLI: https://arduino.github.io/arduino-cli/dev/CONTRIBUTING/#building-the-source-code Arduino IDE is currently using an unsupported approach to building Arduino CLI:
The missing version information is fairly innocuous, but it is possible this approach might cause other problems since we assume |
If IDE2 uses |
It will only show the short hash:
I think it is sufficient to identify the version in use. |
Closes #1313 Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
Closes #1313 Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
Closes #1313 Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
Closes arduino#1313 Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
Describe the request
The IDE2 nightly might use a not yet released CLI version. In such a case, the CLI version is
CLI Version: 0.0.0-git []
which is not informative when accessed from theAbout
dialog. IDE2 should parse thepackage.json
, get theversion
object, and show the pinned CLI version instead of0.0.0-git
.Describe the current behavior
See description.
Arduino IDE version
Version: 2.0.0-rc9.1-nightly-20220809 Date: 2022-08-09T03:33:26.061Z CLI Version: 0.0.0-git []
Operating system
macOS
Operating system version
13.2.1
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: