From 34136bd2a6edec4f5ee108275ff2ddb0e7c3017f Mon Sep 17 00:00:00 2001 From: twilio-dx Date: Fri, 1 Dec 2023 07:28:16 +0000 Subject: [PATCH] Release 5.16.3 --- Formula/twilio.rb | 6 +++--- Formula/twilio@5.16.2.rb | 21 +++++++++++++++++++++ 2 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 Formula/twilio@5.16.2.rb diff --git a/Formula/twilio.rb b/Formula/twilio.rb index d617eea..680520d 100644 --- a/Formula/twilio.rb +++ b/Formula/twilio.rb @@ -3,9 +3,9 @@ class Twilio < Formula desc "unleash the power of Twilio from your command prompt" homepage "https://github.com/twilio/twilio-cli" - url "https://twilio-cli-prod.s3.amazonaws.com/twilio-v5.16.2/twilio-v5.16.2.tar.gz" - version "5.16.2" - sha256 "f6c36e3d444804aaabbc78dbbd098351cdb0c70d029c9a93ef1e5dd2baaa1c61" + url "https://twilio-cli-prod.s3.amazonaws.com/twilio-v5.16.3/twilio-v5.16.3.tar.gz" + version "5.16.3" + sha256 "94e13f36138d31dd7d208e3f5a4b72eadb82c55affedffc26afb94040d203e32" depends_on "node" def install diff --git a/Formula/twilio@5.16.2.rb b/Formula/twilio@5.16.2.rb new file mode 100644 index 0000000..81e4bea --- /dev/null +++ b/Formula/twilio@5.16.2.rb @@ -0,0 +1,21 @@ +require "language/node" + +class TwilioAT5162 < Formula + desc "unleash the power of Twilio from your command prompt" + homepage "https://github.com/twilio/twilio-cli" + url "https://twilio-cli-prod.s3.amazonaws.com/twilio-v5.16.2/twilio-v5.16.2.tar.gz" + version "5.16.2" + sha256 "f6c36e3d444804aaabbc78dbbd098351cdb0c70d029c9a93ef1e5dd2baaa1c61" + depends_on "node" + + def install + inreplace "bin/twilio", /^CLIENT_HOME=/, "export TWILIO_OCLIF_CLIENT_HOME=#{lib/"client"}\nCLIENT_HOME=" + libexec.install Dir["*"] + bin.install_symlink libexec/"bin/twilio" + end + + def post_install + pid = spawn("node #{libexec}/welcome.js") + Process.wait pid + end +end