Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Updating Arduino CLI

Ben McMorran edited this page Feb 14, 2023 · 1 revision

This extension bundles Arduino CLI to simplify setup for new users. Whenever Arduino releases a new version of Arduino CLI, take the following steps to update the bundled version:

  1. Update the version number in build/assets.json to reflect the tag associated with the Arduino CLI release on GitHub.
  2. Update all asset names in build/assets.json to reflect the new version number.
  3. Download all assets from GitHub, compute SHA256 hashes of the assets, and update the hash values in build/assets.json.
  4. If Arduino CLI supports new platforms (that VS Code also supports) in the new release, add new asset entries for these new platforms.
  5. Update cgmanifest.json with new URLs to all assets.
  6. If list of supported platforms has changed, update this mapping of platform names to executable names.
  7. Create and merge a PR with these changes.
  8. Download the source code archive for the new Arduino CLI release, verify that it contains a LICENSE.txt file, and then upload the archive to the Microsoft Third Party Source disclosure portal.
Clone this wiki locally