• Cristian Maglie's avatar
    Always set the versioned runtime.tool property for all installed tools (#1106) · cbb9d191
    Cristian Maglie authored
    For example if we have bossac 1.7.1 and 1.9.0 installed, this will
    result in the following properties available during upload:
    
    {runtime.tools.bossac-1.7.0-arduino3.path} => /path/to/bossac/1.7.0
    {runtime.tools.bossac-1.9.0-arduino3.path} => /path/to/bossac/1.9.0
    {runtime.tools.bossac.path} => /path/to/bossac/1.9.0
    
    some platforms fails to correctly specify the version of the tool in the
    package_index.json but they do the correct specification in the recipes.
    This patch allows to not fail in this latter case.
    cbb9d191
upload.go 16.3 KB