Files
lolcathost/.goreleaser.yaml
T
lukaszraczylo 27d5011ab1 fix: remove unnecessary verified parameter from homebrew cask
The verified parameter is only needed when the URL domain differs
from the homepage domain. Since both point to github.com, Homebrew
audit flags this as unnecessary.
2025-12-08 02:08:00 +00:00

68 lines
1.3 KiB
YAML

version: 2
before:
hooks:
- go mod tidy
builds:
- id: lolcathost
main: ./cmd/lolcathost
binary: lolcathost
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm64
ldflags:
- -s -w
- -X main.appVersion={{.Version}}
archives:
- id: lolcathost
formats: [tar.gz]
name_template: "lolcathost-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
files:
- LICENSE
- README.md
checksum:
name_template: "lolcathost-{{ .Version }}-checksums.txt"
algorithm: sha256
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- "^Merge"
- "^WIP"
release:
github:
owner: lukaszraczylo
name: lolcathost
name_template: "Release {{.Version}}"
draft: false
prerelease: auto
homebrew_casks:
- repository:
owner: lukaszraczylo
name: homebrew-taps
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
directory: Casks
homepage: https://github.com/lukaszraczylo/lolcathost
description: "Dynamic host management tool with TUI"
license: MIT
hooks:
post:
install: |
if OS.mac?
system_command "/usr/bin/xattr",
args: ["-dr", "com.apple.quarantine", "#{staged_path}/lolcathost"]
end