From 714e4bffa8f801b4fed1c48ba812e5492d6e45f2 Mon Sep 17 00:00:00 2001 From: Kirill Shumilov Date: Wed, 21 Nov 2018 13:38:09 +0300 Subject: [PATCH] fix(infra): update arduino-cli from 0.3.1 to 0.3.2 --- .circleci/config.yml | 8 ++++---- tools/install-arduinocli.ps1 | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c267a3cbb..f7b22ff47 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -32,9 +32,9 @@ defs: step-install-arduino-cli-on-mac: &step-install-arduino-cli-on-mac name: Install arduino-cli command: | - curl -s --create-dirs -o "$HOME/arduino-cli.zip" "https://downloads.arduino.cc/arduino-cli/arduino-cli-0.3.1-alpha.preview-osx.zip" \ + curl -s --create-dirs -o "$HOME/arduino-cli.zip" "https://downloads.arduino.cc/arduino-cli/arduino-cli-0.3.2-alpha.preview-osx.zip" \ && unzip "$HOME/arduino-cli.zip" -d "$HOME" \ - && mv "$HOME/arduino-cli-0.3.1-alpha.preview-osx" "$HOME/arduino-cli" \ + && mv "$HOME/arduino-cli-0.3.2-alpha.preview-osx" "$HOME/arduino-cli" \ && cp "$HOME/arduino-cli" "./packages/xod-client-electron/arduino-cli" \ && mkdir "/tmp/arduino-cli" \ && cp "$HOME/arduino-cli" "/tmp/arduino-cli/arduino-cli" @@ -42,9 +42,9 @@ defs: step-install-arduino-cli-on-linux: &step-install-arduino-cli-on-linux name: Install arduino-cli command: | - curl -s --create-dirs -o "$HOME/arduino-cli.tar.bz2" "https://downloads.arduino.cc/arduino-cli/arduino-cli-0.3.1-alpha.preview-linux64.tar.bz2" \ + curl -s --create-dirs -o "$HOME/arduino-cli.tar.bz2" "https://downloads.arduino.cc/arduino-cli/arduino-cli-0.3.2-alpha.preview-linux64.tar.bz2" \ && tar xvjf "$HOME/arduino-cli.tar.bz2" -C "$HOME" \ - && mv "$HOME/arduino-cli-0.3.1-alpha.preview-linux64" "$HOME/arduino-cli" \ + && mv "$HOME/arduino-cli-0.3.2-alpha.preview-linux64" "$HOME/arduino-cli" \ && cp "$HOME/arduino-cli" "./packages/xod-client-electron/arduino-cli" \ && mkdir "/tmp/arduino-cli" \ && cp "$HOME/arduino-cli" "/tmp/arduino-cli/arduino-cli" diff --git a/tools/install-arduinocli.ps1 b/tools/install-arduinocli.ps1 index df346c383..af733289d 100644 --- a/tools/install-arduinocli.ps1 +++ b/tools/install-arduinocli.ps1 @@ -1,8 +1,8 @@ # Install arduino-cli -Invoke-RestMethod -Uri "https://downloads.arduino.cc/arduino-cli/arduino-cli-0.3.1-alpha.preview-windows.zip" -Method GET -OutFile "$env:HOME/arduino-cli.zip" +Invoke-RestMethod -Uri "https://downloads.arduino.cc/arduino-cli/arduino-cli-0.3.2-alpha.preview-windows.zip" -Method GET -OutFile "$env:HOME/arduino-cli.zip" unzip "$env:HOME/arduino-cli.zip" -d "$env:HOME" -mv "$env:HOME/arduino-cli-0.3.1-alpha.preview-windows.exe" "$env:HOME/arduino-cli.exe" +mv "$env:HOME/arduino-cli-0.3.2-alpha.preview-windows.exe" "$env:HOME/arduino-cli.exe" copy "$env:HOME/arduino-cli.exe" "./packages/xod-client-electron/arduino-cli.exe" $env:XOD_ARDUINO_CLI="$env:HOME/arduino-cli.exe"