0b4bbdeef0
Adds the binary name "schemactl" to the Goreleaser configuration file to ensure proper build and release process for the Homebrew tap. This improves clarity and correctness in the configuration.
54 lines
931 B
YAML
54 lines
931 B
YAML
project_name: unbound-schemas
|
|
version: 2
|
|
|
|
env:
|
|
- CGO_ENABLED=0
|
|
|
|
builds:
|
|
- id: schemactl
|
|
main: ./cmd/schemactl/schemactl.go
|
|
binary: schemactl
|
|
goos:
|
|
- linux
|
|
- darwin
|
|
- windows
|
|
goarch:
|
|
- amd64
|
|
- arm64
|
|
|
|
homebrew_casks:
|
|
- name: unbound-schemas
|
|
repository:
|
|
owner: unboundsoftware
|
|
name: homebrew-taps
|
|
binary: schemactl
|
|
directory: Casks
|
|
conflicts:
|
|
- formula: unbound-schemas
|
|
commit_author:
|
|
name: "Joakim Olsson"
|
|
email: joakim@unbound.se
|
|
homepage: "https://schemas.unbound.se/"
|
|
hooks:
|
|
post:
|
|
install: |
|
|
# replace foo with the actual binary name
|
|
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/schemactl"]
|
|
|
|
archives:
|
|
- id: unbound-schemas
|
|
|
|
checksum:
|
|
name_template: 'checksums.txt'
|
|
|
|
snapshot:
|
|
version_template: "{{ .Tag }}-next"
|
|
|
|
changelog:
|
|
sort: asc
|
|
filters:
|
|
exclude:
|
|
- '^Merge'
|
|
- '^docs:'
|
|
- '^test:'
|