From 64145d78e60f980b9a7ec57c30967c27ad7cf532 Mon Sep 17 00:00:00 2001 From: Bugen Zhao Date: Wed, 18 Sep 2024 15:10:58 +0800 Subject: [PATCH] set git_sha Closes #44. Signed-off-by: Bugen Zhao Signed-off-by: xxchan Signed-off-by: Bugen Zhao --- Formula/risingwave.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Formula/risingwave.rb b/Formula/risingwave.rb index 3cb603f..5ed5a01 100644 --- a/Formula/risingwave.rb +++ b/Formula/risingwave.rb @@ -55,6 +55,9 @@ def install # Enable building embedded dashboard. ENV["ENABLE_BUILD_DASHBOARD"] = "1" + # Will show "x.y.z (Homebrew)" in the version string. + ENV["GIT_SHA"] = "Homebrew" + system "cargo", "install", "--profile", "production", "--bin", "risingwave",