Skip to content

Commit

Permalink
chore: Add brew package delivery
Browse files Browse the repository at this point in the history
Signed-off-by: Sergiy Kulanov <[email protected]>
  • Loading branch information
SergK committed Oct 12, 2023
1 parent b2b418e commit f57ab76
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,26 @@ release:
owner: Sergk
name: tkn-graph

brews:
- name: tkn-graph
repository:
owner: sergk
name: homebrew-tap
folder: Formula
homepage: "https://github.com/sergk/tkn-graph"
license: Apache-2.0
description: Tekton CLI - The command line interface for Pipeline, PipelineRun presentation in Graph
test: |
system "#{bin}/tkn-graph", "--help"
install: |
bin.install_symlink "tkn" => "kubectl-tkn-graph"
bin.install "tkn-graph" => "tkn-graph"
output = Utils.popen_read("SHELL=bash #{bin}/tkn-graph completion bash")
(bash_completion/"tkn-graph").write output
output = Utils.popen_read("SHELL=zsh #{bin}/tkn-graph completion zsh")
(zsh_completion/"_tkn-graph").write output
prefix.install_metafiles
# signs the checksum file
# all files (including the sboms) are included in the checksum, so we don't need to sign each one if we don't want to
# https://goreleaser.com/customization/sign
Expand Down

0 comments on commit f57ab76

Please sign in to comment.