E67D add runtime.os property in `upload` sub-command by nobonobo · Pull Request #1312 · arduino/arduino-cli · GitHub
[go: up one dir, main page]

Skip to content

add runtime.os property in upload sub-command #1312

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

Merged
merged 1 commit into from
Aug 24, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
add runtime.os property
  • Loading branch information
nobonobo committed Jun 7, 2021
commit 0c9bcb235c77be49a12ecd00855ccede6c6e8915
1 change: 1 addition & 0 deletions commands/upload/upload.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ func runProgramAction(pm *packagemanager.PackageManager,
if uploadToolPlatform != nil {
uploadProperties.Merge(uploadToolPlatform.Properties)
}
uploadProperties.Set("runtime.os", properties.GetOSSuffix())
uploadProperties.Merge(boardPlatform.Properties)
uploadProperties.Merge(boardPlatform.RuntimeProperties())
uploadProperties.Merge(boardProperties)
Expand Down
0