Skip to content

Commit

Permalink
update goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
sunny0826 committed Nov 17, 2020
1 parent fc33d30 commit 48429b6
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 24 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/homebrew.yaml

This file was deleted.

29 changes: 29 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,33 @@ release:
owner: sunny0826
name: kubecm
name_template: '{{.ProjectName}}-v{{.Version}}'
brews:
- name: kubecm
tap:
owner: sunny0826
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TOKEN }}"

url_template: "https://github.com/sunny0826/kubecm/releases/{{ .Tag }}/{{ .ArtifactName }}"
# Git author used to commit to the repository.
# Defaults are shown.
commit_author:
name: goreleaserbot
email: goreleaser@carlosbecker.com
homepage: "https://github.com/sunny0826/kubecm"
description: "Merge multiple kubeconfig"

# Packages your package depends on.
dependencies:
- name: git
- name: go

# So you can `brew test` your formula.
# Default is empty.
test: |
system "#{bin}/kubecm version"
# Custom install script for brew.
# Default is 'bin.install "program"'.
install: |
bin.install "kubecm"

0 comments on commit 48429b6

Please sign in to comment.