Skip to content

Commit

Permalink
Release 5.18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
twilio-dx committed Feb 9, 2024
1 parent e179247 commit dd13d0a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Formula/twilio.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.17.1/twilio-v5.17.1.tar.gz"
version "5.17.1"
sha256 "924e85fa031a3f0b99963dd48a043a6d5e9cee582c33adb527b17c2cf84efb30"
url "https://twilio-cli-prod.s3.amazonaws.com/twilio-v5.18.0/twilio-v5.18.0.tar.gz"
version "5.18.0"
sha256 "da46c4cece63a318b94a2c8f121234a456928134db6d713f9f29a5f8d9f8f669"
depends_on "node"

def install
Expand Down
21 changes: 21 additions & 0 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
require "language/node"

class TwilioAT5171 < 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.17.1/twilio-v5.17.1.tar.gz"
version "5.17.1"
sha256 "924e85fa031a3f0b99963dd48a043a6d5e9cee582c33adb527b17c2cf84efb30"
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

0 comments on commit dd13d0a

Please sign in to comment.