Skip to content

Commit

Permalink
Release 5.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
twilio-dx committed Dec 15, 2022
1 parent 6d7a03d commit 33f7681
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.2.3/twilio-v5.2.3.tar.gz"
version "5.2.3"
sha256 "474a258e42870023f9f8cff97d8c120027507e262d8f60871fdc8de9f37b83cd"
url "https://twilio-cli-prod.s3.amazonaws.com/twilio-v5.3.0/twilio-v5.3.0.tar.gz"
version "5.3.0"
sha256 "cf256ceecba47df8a30de168b0cfb6e0f3ced5989c176c9995695785c852b648"
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 TwilioAT523 < 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.2.3/twilio-v5.2.3.tar.gz"
version "5.2.3"
sha256 "474a258e42870023f9f8cff97d8c120027507e262d8f60871fdc8de9f37b83cd"
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 33f7681

Please sign in to comment.