Skip to content

Commit

Permalink
Merge pull request #195263 from Homebrew/bump-kn-1.16.0
Browse files Browse the repository at this point in the history
kn 1.16.0
  • Loading branch information
BrewTestBot authored Oct 23, 2024
2 parents 6e7514f + 8489e15 commit f5fc39e
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions Formula/k/kn.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,18 @@ class Kn < Formula
desc "Command-line interface for managing Knative Serving and Eventing resources"
homepage "https://github.com/knative/client"
url "https://github.com/knative/client.git",
tag: "knative-v1.15.0",
revision: "59dd72a2407e6ce6d12e9df7a5bf4e87941a550e"
tag: "knative-v1.16.0",
revision: "b3b6b8603082732a6ca69b70ebf5d9d4ed48d804"
license "Apache-2.0"
head "https://github.com/knative/client.git", branch: "main"

bottle do
sha256 cellar: :any_skip_relocation, arm64_sequoia: "c42b2ee3fa22e70e49de0ea5a67fa55b600f77e7a30a6ab5a4590d7e063b5224"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "f214605c37805783058d0e347cba6118e33885c807d343af05cf4fdb09984cae"
sha256 cellar: :any_skip_relocation, arm64_ventura: "f214605c37805783058d0e347cba6118e33885c807d343af05cf4fdb09984cae"
sha256 cellar: :any_skip_relocation, arm64_monterey: "f214605c37805783058d0e347cba6118e33885c807d343af05cf4fdb09984cae"
sha256 cellar: :any_skip_relocation, sonoma: "732bf96fdc66572095563d4e4b1a7d62fccb294d34c5af84fd8dc0a89363a406"
sha256 cellar: :any_skip_relocation, ventura: "732bf96fdc66572095563d4e4b1a7d62fccb294d34c5af84fd8dc0a89363a406"
sha256 cellar: :any_skip_relocation, monterey: "732bf96fdc66572095563d4e4b1a7d62fccb294d34c5af84fd8dc0a89363a406"
sha256 cellar: :any_skip_relocation, x86_64_linux: "daab235040f375a78e92474dfa2cee922e8f642afd1d5f8c8fbda5c0b8e5aeb7"
sha256 cellar: :any_skip_relocation, arm64_sequoia: "bcebd0e10b9d2ef2ded66dfe973305d72f35c7f1bc72cf5bf4a609f79fc52ea0"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "bcebd0e10b9d2ef2ded66dfe973305d72f35c7f1bc72cf5bf4a609f79fc52ea0"
sha256 cellar: :any_skip_relocation, arm64_ventura: "bcebd0e10b9d2ef2ded66dfe973305d72f35c7f1bc72cf5bf4a609f79fc52ea0"
sha256 cellar: :any_skip_relocation, sonoma: "06725a6ea4379f310651ac82c5c971f80826d2f23e29724e12d70a92b840a338"
sha256 cellar: :any_skip_relocation, ventura: "06725a6ea4379f310651ac82c5c971f80826d2f23e29724e12d70a92b840a338"
sha256 cellar: :any_skip_relocation, x86_64_linux: "173449fa365517d5867704d0db1f62722cbb1ab588e41fb19d5f010255413b85"
end

depends_on "go" => :build
Expand All @@ -24,12 +22,12 @@ def install
ENV["CGO_ENABLED"] = "0"

ldflags = %W[
-X knative.dev/client/pkg/kn/commands/version.Version=v#{version}
-X knative.dev/client/pkg/kn/commands/version.GitRevision=#{Utils.git_head(length: 8)}
-X knative.dev/client/pkg/kn/commands/version.BuildDate=#{time.iso8601}
-X knative.dev/client/pkg/commands/version.Version=v#{version}
-X knative.dev/client/pkg/commands/version.GitRevision=#{Utils.git_head(length: 8)}
-X knative.dev/client/pkg/commands/version.BuildDate=#{time.iso8601}
]

system "go", "build", "-mod=vendor", *std_go_args(ldflags:), "./cmd/..."
system "go", "build", *std_go_args(ldflags:), "./cmd/..."

generate_completions_from_executable(bin/"kn", "completion", shells: [:bash, :zsh])
end
Expand Down

0 comments on commit f5fc39e

Please sign in to comment.