tm 1.11.0
* tm 1.11.0 * improve the build * update the build Closes #88650. Co-authored-by: rui <rui@chenrui.dev> Signed-off-by: Michka Popoff <3406519+iMichka@users.noreply.github.com> Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>master
parent
140dde1f77
commit
9da405858c
|
@ -1,8 +1,8 @@
|
|||
class Tm < Formula
|
||||
desc "TriggerMesh CLI to work with knative objects"
|
||||
homepage "https://triggermesh.com"
|
||||
url "https://github.com/triggermesh/tm/archive/v1.10.0.tar.gz"
|
||||
sha256 "5a733c31beb359b339b51fa9b930580893028517f8e891fe572d2e3fac0e0421"
|
||||
url "https://github.com/triggermesh/tm/archive/v1.11.0.tar.gz"
|
||||
sha256 "edb1e7e7d86650a549d64abf435c60468a5e06ea99c4a4f66f7c25cc5c5d06cb"
|
||||
license "Apache-2.0"
|
||||
head "https://github.com/triggermesh/tm.git", branch: "main"
|
||||
|
||||
|
@ -22,9 +22,9 @@ class Tm < Formula
|
|||
ldflags = %W[
|
||||
-s -w
|
||||
-X github.com/triggermesh/tm/cmd.version=v#{version}
|
||||
]
|
||||
].join(" ")
|
||||
|
||||
system "go", "build", *std_go_args, "-ldflags", ldflags.join(" ")
|
||||
system "go", "build", *std_go_args(ldflags: ldflags)
|
||||
end
|
||||
|
||||
test do
|
||||
|
|
Loading…
Reference in New Issue