1
1
mirror of https://github.com/wader/fq.git synced 2024-08-16 23:40:43 +03:00
fq/.goreleaser.yml
Mattias Wadman 78c0775e63 fq: Embed version in source
Related to #68
2022-01-19 20:45:08 +01:00

59 lines
930 B
YAML

project_name: fq
before:
hooks:
- go mod download
release:
draft: true
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:
name_template: "checksums.txt"
archives:
- files:
- none*
format_overrides:
- goos: windows
format: zip
replacements:
darwin: macos
snapshot:
name_template: "{{.Tag}}-next"
changelog:
sort: asc
filters:
exclude:
- "^Merge"
brews:
- tap:
owner: wader
name: homebrew-tap
folder: Formula
homepage: https://github.com/wader/fq
description: jq for binaries
license: MIT
test: |
system "#{bin}/fq -v"