Skip to content

Commit

Permalink
chore: upgrade pulsarctl brew to 3.3.0.9 (#74)
Browse files Browse the repository at this point in the history
* chore: upgrade pulsarctl brew to 3.3.0.9

Signed-off-by: ericsyh <[email protected]>

* fix the ruby style

Signed-off-by: ericsyh <[email protected]>

* update

Signed-off-by: ericsyh <[email protected]>

* test

Signed-off-by: ericsyh <[email protected]>

* update github action

Signed-off-by: ericsyh <[email protected]>

* upgrade pulsar to 3.0

Signed-off-by: ericsyh <[email protected]>

* add rm_r command

Signed-off-by: ericsyh <[email protected]>

* upgrade pulsar to 3.3.1

Signed-off-by: ericsyh <[email protected]>

---------

Signed-off-by: ericsyh <[email protected]>
  • Loading branch information
ericsyh authored Aug 11, 2024
1 parent 8b471a5 commit aece539
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: macos-13
steps:
- name: Checkout pulsar repo
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Run brew test-bot
run: |
Expand Down
6 changes: 3 additions & 3 deletions Formula/pulsar.rb
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
class Pulsar < Formula
desc "Distributed pub-sub messaging platform with a very flexible messaging model"
homepage "https://pulsar.apache.org"
url "https://www.apache.org/dyn/mirrors/mirrors.cgi?action=download&filename=pulsar/pulsar-2.10.2/apache-pulsar-2.10.2-bin.tar.gz"
sha256 "a7f79703b8121a57965ba187d35cb90230ca9ff552c73e48a51ed7a559b4089a"
url "https://www.apache.org/dyn/mirrors/mirrors.cgi?action=download&filename=pulsar/pulsar-3.3.1/apache-pulsar-3.3.1-bin.tar.gz"
sha256 "12973876d8a5d4cfef835751fa1ac06bbe2408171a462b02954ac9aa35255a69"
license "Apache-2.0"

depends_on "openjdk" => :optional

def install
libexec.install Dir["bin", "lib", "instances", "conf"]

(libexec/"lib/presto/bin/procname/Linux-ppc64le").rmtree
rm_r(libexec/"lib/presto/bin/procname/Linux-ppc64le")
pkgshare.install Dir["examples", "licenses"]
(etc/"pulsar").install_symlink libexec/"conf"

Expand Down
16 changes: 8 additions & 8 deletions Formula/pulsarctl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,23 @@ class Pulsarctl < Formula

on_macos do
on_intel do
url "https://github.com/streamnative/pulsarctl/releases/download/v3.3.0.1/pulsarctl-amd64-darwin.tar.gz"
sha256 "30e0ac5341019c6b631377376aae7a9d3279ade6e2d08bd640e2290c90f0ccac"
url "https://github.com/streamnative/pulsarctl/releases/download/v3.3.0.9/pulsarctl-amd64-darwin.tar.gz"
sha256 "bb9d4ec15de5d97e61c39c5ef9ea834207dfe55a3f1dda9e6fd2379edef4b157"
end
on_arm do
url "https://github.com/streamnative/pulsarctl/releases/download/v3.3.0.1/pulsarctl-arm64-darwin.tar.gz"
sha256 "7b93032b67b238d5cdc673888967c5e4279830b023866f4435e618e328797f41"
url "https://github.com/streamnative/pulsarctl/releases/download/v3.3.0.9/pulsarctl-arm64-darwin.tar.gz"
sha256 "1579ac8fb97f71ca986dd948d31c9d257b65de01beb421970e456e0b3b93de4b"
end
end

on_linux do
on_intel do
url "https://github.com/streamnative/pulsarctl/releases/download/v3.3.0.1/pulsarctl-amd64-linux.tar.gz"
sha256 "0d82bfed374f0525e75804044871d5d85d6015ba7ce0d7905d1b6a26ffc73c79"
url "https://github.com/streamnative/pulsarctl/releases/download/v3.3.0.9/pulsarctl-amd64-linux.tar.gz"
sha256 "fd56debb7d3aba5d0cbb1c4e98185c1554223065b8a8d2f4024157d7d851282c"
end
on_arm do
url "https://github.com/streamnative/pulsarctl/releases/download/v3.3.0.1/pulsarctl-arm64-linux.tar.gz"
sha256 "39d00acb0dd514037490b6af6a0eacdf4657b16eac7578990af9d782f05e3fcf"
url "https://github.com/streamnative/pulsarctl/releases/download/v3.3.0.9/pulsarctl-arm64-linux.tar.gz"
sha256 "84b8bdf57290d5da534e24ba5cefe6b8f02113e352e372122546a2b3ffdc47b4"
end
end

Expand Down

0 comments on commit aece539

Please sign in to comment.