diff --git a/Formula/abq.rb b/Formula/abq.rb index dd35734..cfc3d0d 100644 --- a/Formula/abq.rb +++ b/Formula/abq.rb @@ -4,12 +4,12 @@ class Abq < Formula version "1.6.3" if OS.mac? && Hardware::CPU.intel? - url "https://abq.build/api/downloads/#{version}?os=darwin&arch=x86-64", user_agent: :fake + url "https://cloud.rwx.com/abq/api/downloads/#{version}?os=darwin&arch=x86-64", user_agent: :fake sha256 "e1618b74a15340ba0503ed83b592ef6da8e2b6d39231baabb1507ad95370578c" end if OS.mac? && Hardware::CPU.arm? - url "https://abq.build/api/downloads/#{version}?os=darwin&arch=aarch64", user_agent: :fake + url "https://cloud.rwx.com/abq/api/downloads/#{version}?os=darwin&arch=aarch64", user_agent: :fake sha256 "9bf2086f087c93e94461c12711f52bb0eb316df693367d91169aac4b5a707802" end diff --git a/Formula/abq@1.rb b/Formula/abq@1.rb index f371549..8b409d0 100644 --- a/Formula/abq@1.rb +++ b/Formula/abq@1.rb @@ -4,12 +4,12 @@ class AbqAT1 < Formula version "1.6.3" if OS.mac? && Hardware::CPU.intel? - url "https://abq.build/api/downloads/#{version}?os=darwin&arch=x86-64", user_agent: :fake + url "https://cloud.rwx.com/abq/api/downloads/#{version}?os=darwin&arch=x86-64", user_agent: :fake sha256 "e1618b74a15340ba0503ed83b592ef6da8e2b6d39231baabb1507ad95370578c" end if OS.mac? && Hardware::CPU.arm? - url "https://abq.build/api/downloads/#{version}?os=darwin&arch=aarch64", user_agent: :fake + url "https://cloud.rwx.com/abq/api/downloads/#{version}?os=darwin&arch=aarch64", user_agent: :fake sha256 "9bf2086f087c93e94461c12711f52bb0eb316df693367d91169aac4b5a707802" end diff --git a/bin/update-abq-formulae b/bin/update-abq-formulae index 7563caf..f5f57bd 100755 --- a/bin/update-abq-formulae +++ b/bin/update-abq-formulae @@ -41,10 +41,10 @@ function getSHA() { } echo "Calculating the SHA256 of the binaries" -oldAarch64SHA=$(getSHA "https://abq.build/api/downloads/${oldVersion}?os=darwin&arch=aarch64" "${oldVersion}") -oldX8664SHA=$(getSHA "https://abq.build/api/downloads/${oldVersion}?os=darwin&arch=x86-64" "${oldVersion}") -newAarch64SHA=$(getSHA "https://abq.build/api/downloads/${newVersion}?os=darwin&arch=aarch64" "${newVersion}") -newX8664SHA=$(getSHA "https://abq.build/api/downloads/${newVersion}?os=darwin&arch=x86-64" "${newVersion}") +oldAarch64SHA=$(getSHA "https://cloud.rwx.com/abq/api/downloads/${oldVersion}?os=darwin&arch=aarch64" "${oldVersion}") +oldX8664SHA=$(getSHA "https://cloud.rwx.com/abq/api/downloads/${oldVersion}?os=darwin&arch=x86-64" "${oldVersion}") +newAarch64SHA=$(getSHA "https://cloud.rwx.com/abq/api/downloads/${newVersion}?os=darwin&arch=aarch64" "${newVersion}") +newX8664SHA=$(getSHA "https://cloud.rwx.com/abq/api/downloads/${newVersion}?os=darwin&arch=x86-64" "${newVersion}") echo "Updating formulae and tests" sed -i '' -e "s/version \"${oldVersion}\"/version \"${newVersion}\"/" "./Formula/abq.rb"