From 5c6742cf8346d74a5b091a3214811bf0333a4718 Mon Sep 17 00:00:00 2001 From: Arduino Bot Date: Tue, 23 Nov 2021 14:47:02 +0000 Subject: [PATCH 1/3] arduino-cli 0.20.0 --- Formula/arduino-cli.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Formula/arduino-cli.rb b/Formula/arduino-cli.rb index 81e3ba0d7bb3a1..d7d657436a3c9d 100644 --- a/Formula/arduino-cli.rb +++ b/Formula/arduino-cli.rb @@ -2,8 +2,8 @@ class ArduinoCli < Formula desc "Arduino command-line interface" homepage "https://github.com/arduino/arduino-cli" url "https://github.com/arduino/arduino-cli.git", - tag: "0.19.3", - revision: "12f1afc2c1dee08d988974fe8f80e849f7ce4681" + tag: "0.20.0", + revision: "553c63759665c0dcc9cfb2513883085c26f2670b" license "GPL-3.0-only" head "https://github.com/arduino/arduino-cli.git", branch: "master" From 3840e3d919511c932c16e17abfe23590d10203b6 Mon Sep 17 00:00:00 2001 From: Umberto Baldi <34278123+umbynos@users.noreply.github.com> Date: Wed, 24 Nov 2021 01:06:43 +0800 Subject: [PATCH 2/3] Fix test --- Formula/arduino-cli.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/arduino-cli.rb b/Formula/arduino-cli.rb index d7d657436a3c9d..8662bc21d1a175 100644 --- a/Formula/arduino-cli.rb +++ b/Formula/arduino-cli.rb @@ -49,7 +49,7 @@ def install assert File.directory?("#{testpath}/test_sketch") version_output = shell_output("#{bin}/arduino-cli version 2>&1") - assert_match("arduino-cli alpha Version: #{version}", version_output) + assert_match("arduino-cli Version: #{version}", version_output) assert_match("Commit:", version_output) assert_match(/[a-f0-9]{8}/, version_output) assert_match("Date: ", version_output) From 908ba6b85af61fd34ddff04fb5644757a4963213 Mon Sep 17 00:00:00 2001 From: Umberto Baldi <34278123+umbynos@users.noreply.github.com> Date: Thu, 25 Nov 2021 17:49:02 +0800 Subject: [PATCH 3/3] arduino-cli: build with Go 1.17 Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> --- Formula/arduino-cli.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Formula/arduino-cli.rb b/Formula/arduino-cli.rb index 8662bc21d1a175..16b1e8e32592fd 100644 --- a/Formula/arduino-cli.rb +++ b/Formula/arduino-cli.rb @@ -22,8 +22,7 @@ class ArduinoCli < Formula sha256 cellar: :any_skip_relocation, x86_64_linux: "9467a330e3df2f50d077c19af97e6a9cfa2e9a4546494f281c306a93450ca672" end - # Switch to Go 1.17 at version bump - depends_on "go@1.16" => :build + depends_on "go" => :build def install ldflags = %W[