1
1
mirror of https://github.com/wader/fq.git synced 2024-11-27 06:04:47 +03:00
fq/.goreleaser.yml

62 lines
999 B
YAML
Raw Normal View History

2020-06-08 03:29:51 +03:00
project_name: fq
before:
hooks:
- go mod download
release:
draft: true
2020-06-08 03:29:51 +03:00
builds:
- env:
- CGO_ENABLED=0
goarch:
- amd64
- arm64
goos:
- linux
- windows
- darwin
flags:
- -trimpath
ldflags:
# omit symbol table and debug information
- -s -w
- -X main.commit={{.Commit}}
- -X main.date={{.CommitDate}}
- -X main.builtBy=goreleaser
checksum:
2021-10-05 13:27:24 +03:00
name_template: "checksums.txt"
2020-06-08 03:29:51 +03:00
archives:
2021-10-05 13:27:24 +03:00
- files:
- none*
format_overrides:
- goos: windows
format: zip
2022-01-21 18:30:35 +03:00
- goos: darwin
format: zip
2021-10-05 13:27:24 +03:00
replacements:
darwin: macos
2020-06-08 03:29:51 +03:00
snapshot:
name_template: "{{.Tag}}-next"
changelog:
sort: asc
filters:
exclude:
- "^Merge"
2020-06-08 03:29:51 +03:00
brews:
- skip_upload: auto
2022-01-21 17:19:55 +03:00
tap:
2020-06-08 03:29:51 +03:00
owner: wader
name: homebrew-tap
folder: Formula
homepage: https://github.com/wader/fq
2022-01-21 17:19:55 +03:00
description: jq for binary formats
2020-06-08 03:29:51 +03:00
license: MIT
test: |
2021-10-05 13:27:24 +03:00
system "#{bin}/fq -v"