diff --git a/Formula/c/crowdin.rb b/Formula/c/crowdin.rb index c99fa2f3b1363..417d23befbb03 100644 --- a/Formula/c/crowdin.rb +++ b/Formula/c/crowdin.rb @@ -1,8 +1,8 @@ class Crowdin < Formula desc "Command-line tool that allows to manage your resources with crowdin.com" homepage "https://support.crowdin.com/cli-tool/" - url "https://github.com/crowdin/crowdin-cli/releases/download/3.19.4/crowdin-cli.zip" - sha256 "483e03f705be4ddaf7983f754892a6e4ade092d1f4cb0401461d1dd5331e2c3b" + url "https://github.com/crowdin/crowdin-cli/releases/download/4.0.0/crowdin-cli.zip" + sha256 "ecac905279763bfada40b70fe55b0c097df4f38327e8715fc6326692c0245817" license "MIT" livecheck do @@ -11,13 +11,13 @@ class Crowdin < Formula end bottle do - sha256 cellar: :any_skip_relocation, arm64_sonoma: "b2cf69c951481dd1f1db07639c254ae78d2bcd73ade44a0d71aff6473d1bfc60" - sha256 cellar: :any_skip_relocation, arm64_ventura: "eea912906c259172a64d8abbcec6832120ab53f120b5206e1892c258a0bfaf63" - sha256 cellar: :any_skip_relocation, arm64_monterey: "f41a5a32e59589f420c2643f4f9dba8541756d33af6fd7e6431ac97640016603" - sha256 cellar: :any_skip_relocation, sonoma: "535641e3c0b4bf61ca023c8e776990b96f256a0601df28a7b593dbb3d55c6023" - sha256 cellar: :any_skip_relocation, ventura: "8724c9a7decdc49d2182bb3f79e97a28bd663f3a39c5681cf32cc35bc4558bbf" - sha256 cellar: :any_skip_relocation, monterey: "52f73b3cc145c9b5cc7a306e7df2bad072f44d25a0caf254c36af2505e8e46a4" - sha256 cellar: :any_skip_relocation, x86_64_linux: "e5527a4a286180264fef80691c860a9cb745d91316635808418af0083558b0e2" + sha256 cellar: :any_skip_relocation, arm64_sonoma: "1b19b41212f20f9c517123e7741ec126a5c45fa683ae0677c758283c77a0874d" + sha256 cellar: :any_skip_relocation, arm64_ventura: "1b19b41212f20f9c517123e7741ec126a5c45fa683ae0677c758283c77a0874d" + sha256 cellar: :any_skip_relocation, arm64_monterey: "1b19b41212f20f9c517123e7741ec126a5c45fa683ae0677c758283c77a0874d" + sha256 cellar: :any_skip_relocation, sonoma: "1b19b41212f20f9c517123e7741ec126a5c45fa683ae0677c758283c77a0874d" + sha256 cellar: :any_skip_relocation, ventura: "1b19b41212f20f9c517123e7741ec126a5c45fa683ae0677c758283c77a0874d" + sha256 cellar: :any_skip_relocation, monterey: "1b19b41212f20f9c517123e7741ec126a5c45fa683ae0677c758283c77a0874d" + sha256 cellar: :any_skip_relocation, x86_64_linux: "767084eb6bf6d0fe6e748df225bb2fa7e29ad890e8d86d75d8b716fdc0d14916" end depends_on "openjdk" @@ -44,10 +44,9 @@ def install ] EOS - assert "Your configuration file looks good", - shell_output("#{bin}/crowdin lint") + system bin/"crowdin", "init" - assert "Failed to authorize in Crowdin", - shell_output("#{bin}/crowdin upload sources --config #{testpath}/crowdin.yml", 1) + assert "Failed to collect project info", + shell_output("#{bin}/crowdin upload sources --config #{testpath}/crowdin.yml 2>&1", 102) end end