Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Formula/d/dumpling.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ class Dumpling < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "cfc64eb60af9ecd9ba221226e92abf183890db5e55ebfca027681ec52c0a2700"
end

depends_on "go" => :build
# Unpin go when release supports Go 1.26. Ref https://github.com/pingcap/tidb/issues/65761
depends_on "go@1.25" => :build

def install
project = "github.com/pingcap/tidb/dumpling"
Expand All @@ -30,7 +31,7 @@ def install
-X #{project}/cli.BuildTimestamp=#{time.iso8601}
-X #{project}/cli.GitHash=#{tap.user}
-X #{project}/cli.GitBranch=#{version}
-X #{project}/cli.GoVersion=go#{Formula["go"].version}
-X #{project}/cli.GoVersion=go#{Formula["go@1.25"].version}
]

system "go", "build", *std_go_args(ldflags:), "./dumpling/cmd/dumpling"
Expand Down
Loading