diff --git a/Formula/scalingo.rb b/Formula/scalingo.rb index 1ddc1e2454e..aa29a3edec9 100644 --- a/Formula/scalingo.rb +++ b/Formula/scalingo.rb @@ -1,8 +1,8 @@ class Scalingo < Formula desc "CLI for working with Scalingo's PaaS" homepage "https://doc.scalingo.com/cli" - url "https://github.com/Scalingo/cli/archive/refs/tags/1.22.0.tar.gz" - sha256 "f08236d73195e9107f1a2d4aaf0d01bd40e852e8f032bc5d42227677f65ee4ec" + url "https://github.com/Scalingo/cli/archive/1.22.1.tar.gz" + sha256 "cef2766e41a21eadf8b6a00e467bfb2c9234373d5cc52a272100cefed99a2380" license "BSD-4-Clause" bottle do @@ -17,7 +17,7 @@ class Scalingo < Formula depends_on "go" => :build def install - system "go", "build", *std_go_args, "scalingo/main.go" + system "go", "build", *std_go_args(ldflags: "-s -w"), "scalingo/main.go" end test do @@ -28,7 +28,6 @@ class Scalingo < Formula | region | | +-------------------+-------+ END - config_output = shell_output("#{bin}/scalingo config") - assert_equal config_output, expected + assert_equal expected, shell_output("#{bin}/scalingo config") end end