diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f462c64..d5fc6ab 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -22,7 +22,7 @@ jobs: HOMEBREW_GITHUB_PACKAGES_TOKEN: ${{ github.token }} HOMEBREW_GITHUB_PACKAGES_USER: ${{ github.actor }} PULL_REQUEST: ${{ github.event.pull_request.number }} - run: brew pr-pull --debug --tap=$GITHUB_REPOSITORY $PULL_REQUEST + run: brew pr-pull --debug --tap="$GITHUB_REPOSITORY" "$PULL_REQUEST" - name: Push commits uses: Homebrew/actions/git-try-push@master @@ -34,4 +34,4 @@ jobs: if: github.event.pull_request.head.repo.fork == false env: BRANCH: ${{ github.event.pull_request.head.ref }} - run: git push --delete origin $BRANCH + run: git push --delete origin "$BRANCH" diff --git a/Formula/risingwave.rb b/Formula/risingwave.rb index f6949f0..e8239f8 100644 --- a/Formula/risingwave.rb +++ b/Formula/risingwave.rb @@ -1,8 +1,8 @@ class Risingwave < Formula desc "Distributed SQL database for stream processing" homepage "https://github.com/risingwavelabs/risingwave" - url "https://github.com/risingwavelabs/risingwave/archive/refs/tags/v1.9.1.tar.gz" - sha256 "a2ad286cde11891906082f54ca5edb997382df639acee83e096b921b0d29a642" + url "https://github.com/risingwavelabs/risingwave/archive/refs/tags/v1.10.0.tar.gz" + sha256 "3ecb95e792bd16afa7404b74e3b624b798f4824cbad668fb38d536dabbb8f5e3" license "Apache-2.0" head "https://github.com/risingwavelabs/risingwave.git", branch: "main" @@ -15,18 +15,18 @@ class Risingwave < Formula depends_on "cmake" => :build depends_on "node@20" => :build depends_on "protobuf" => :build - depends_on "rustup-init" => :build + depends_on "rustup" => :build depends_on "java11" depends_on "openssl@3" resource "connector" do - url "https://github.com/risingwavelabs/risingwave/releases/download/v1.9.1/risingwave-v1.9.1-x86_64-unknown-linux-all-in-one.tar.gz" - sha256 "8f88a4754aebd94196e49f67300180ddf2236d88d93da96cd9e053b2f7487fc8" + url "https://github.com/risingwavelabs/risingwave/releases/download/v1.10.0/risingwave-v1.10.0-x86_64-unknown-linux-all-in-one.tar.gz" + sha256 "cf4927c62c2234567a2d87256fee217ae853300e12a2f7e9b28a0c873d823129" end def install # this will install the necessary cargo/rustup toolchain bits in HOMEBREW_CACHE - system "#{Formula["rustup-init"].bin}/rustup-init", + system "#{Formula["rustup"].bin}/rustup-init", "-qy", "--no-modify-path", "--default-toolchain", "none" ENV.prepend_path "PATH", HOMEBREW_CACHE/"cargo_cache/bin" @@ -56,6 +56,7 @@ def install ENV["ENABLE_BUILD_DASHBOARD"] = "1" system "cargo", "install", + # "--profile", "production", # since the upcoming release 1.11 (or 2.0) "--bin", "risingwave", "--features", "rw-static-link", *std_cargo_args(root: libexec, path: "src/cmd_all") diff --git a/test_locally.sh b/test_locally.sh index a361e14..f982109 100755 --- a/test_locally.sh +++ b/test_locally.sh @@ -1,4 +1,4 @@ #!/bin/sh brew uninstall risingwave -brew install -v --build-from-source --HEAD Formula/risingwave.rb \ No newline at end of file +brew install -v --build-from-source --HEAD Formula/risingwave.rb