Skip to content

Commit

Permalink
fix(infra): update arduino-cli from 0.3.1 to 0.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
brusherru committed Nov 21, 2018
1 parent 580a304 commit 714e4bf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,19 @@ 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"
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"
Expand Down
4 changes: 2 additions & 2 deletions tools/install-arduinocli.ps1
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 714e4bf

Please sign in to comment.