2022-12-31 13:03:58 +03:00
|
|
|
# to test
|
|
|
|
# docker run -ti -v "$PWD:$PWD" -w "$PWD" goreleaser/goreleaser:latest release --snapshot --rm-dist
|
2020-06-08 03:29:51 +03:00
|
|
|
project_name: fq
|
|
|
|
|
|
|
|
before:
|
|
|
|
hooks:
|
|
|
|
- go mod download
|
|
|
|
|
2022-01-05 02:22:33 +03:00
|
|
|
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:
|
2022-12-31 13:03:58 +03:00
|
|
|
# skip all other files
|
2021-10-05 13:27:24 +03:00
|
|
|
- none*
|
|
|
|
format_overrides:
|
|
|
|
- goos: windows
|
|
|
|
format: zip
|
2022-01-21 18:30:35 +03:00
|
|
|
- goos: darwin
|
|
|
|
format: zip
|
2022-12-31 13:03:58 +03:00
|
|
|
# fq_0.2.0_linux_amd64.tar.gz
|
|
|
|
# fq_0.2.0_macos_arm64.zip
|
|
|
|
name_template: >-
|
|
|
|
{{ .ProjectName }}_
|
|
|
|
{{- .Version }}_
|
|
|
|
{{- if eq .Os "darwin" }}macos_
|
|
|
|
{{- else }}{{ .Os }}_{{ end }}
|
|
|
|
{{- .Arch }}
|
2020-06-08 03:29:51 +03:00
|
|
|
|
|
|
|
changelog:
|
|
|
|
sort: asc
|
|
|
|
filters:
|
|
|
|
exclude:
|
2022-01-07 22:34:01 +03:00
|
|
|
- "^Merge"
|
2020-06-08 03:29:51 +03:00
|
|
|
|
|
|
|
brews:
|
2022-01-21 16:10:16 +03:00
|
|
|
- skip_upload: auto
|
2023-11-28 22:19:12 +03:00
|
|
|
repository:
|
2020-06-08 03:29:51 +03:00
|
|
|
owner: wader
|
|
|
|
name: homebrew-tap
|
2024-04-16 12:12:36 +03:00
|
|
|
directory: Formula
|
2020-06-08 03:29:51 +03:00
|
|
|
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"
|