Add homebrew to .goreleaser.yml

This commit is contained in:
Samuel Lorch 2023-08-11 09:53:21 +02:00 committed by GitHub
parent 82542147f2
commit 22c8648884
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,4 +42,22 @@ nfpms:
- bash_completion
formats:
- deb
- rpm
- rpm
brews:
- homepage: https://github.com/passbolt/go-passbolt-cli
license: "MIT"
skip_upload: false
description: "A CLI tool to interact with Passbolt, a Open source Password Manager for Teams"
install: |
bin.install "passbolt"
bash_completion.install "/home/runner/work/go-passbolt-cli/go-passbolt-cli/completion/bash" => "passbolt"
zsh_completion.install "/home/runner/work/go-passbolt-cli/go-passbolt-cli/completion/zsh" => "_passbolt"
fish_completion.install "/home/runner/work/go-passbolt-cli/go-passbolt-cli/completion/fish" => "passbolt.fish"
man1.install "/home/runner/work/go-passbolt-cli/go-passbolt-cli/man/*"
# ...
repository:
owner: passbolt
name: homebrew-tap
token: "{{ .Env.TAP_GITHUB_TOKEN }}"